Yii Framework Forum: Yii2-authclient Facebook Domain not Allowed - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Yii2-authclient Facebook Domain not Allowed AuthClient works perfectly with Google and others, but not Facebook. Rate Topic: -----

#1 User is offline   CTala 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 111
  • Joined: 17-August 11
  • Location:Chile

Posted 05 October 2017 - 01:12 PM

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 ?
--
MSc. Cristian Tala Sánchez
0

#2 User is offline   Automation Community 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 11-July 17
  • Location:Dallas, Texas

Posted 05 October 2017 - 07:11 PM

View PostCTala, on 05 October 2017 - 01:12 PM, said:

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.
RAD WEB HOSTING - Domains, Websites, and VPS Servers - @RadWebHosting
0

#3 User is offline   CTala 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 111
  • Joined: 17-August 11
  • Location:Chile

Posted 06 October 2017 - 07:12 AM

View PostCTala, on 05 October 2017 - 01:12 PM, said:

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 ?



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

--
MSc. Cristian Tala Sánchez
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users