Yii2-authclient Facebook Domain not Allowed

Hey guys!

has been a while since I don’t come to the forum.

I am using the Yii2-authclient in order to implement the social login on my site, but with Facebook I am having the issue of “Domain not allowed”. I understand what the error means, but it is exactly the same one, so I don’t have a clue what could be happening.

Did anyone had the same issue ?

I have had this same issue previously. What caused the error was actually the spelling of the domain (containing the characters "f" and "b" in succession).

Facebook developer has some filters, but if this is the case for you, you can submit a help ticket, but it will be a long time before you hear any response.

Thanks for the answer. At the end the error had nothing to do with the domain, what was bothering it was the return url.

I added the following url to the redirect URL list and it worked :


https://MYSTITE/index.php?r=site%2Fauth&authclient=facebook

1 Like