configure domains relation
JSON authorization