Vanilla with Facebook login
Hi,
I've installed Vanilla 2.2.1 and it's awesome. Thanks
After all tweaking here and there, I got in to configure Facebook login. Did all the bits in Facebook end and then came back and put my "Application ID", "Application Secret" and "Site Url". However, when I try to login to Vanilla via FB, I get an error message similar to this,
{
"error": {
"message": "Invalid redirect_uri: Can't Load URL",
"type": "OAuthException",
"code": 191,
"fbtrace_id": "EUBpfN8UFNq"
}
}
It's coming from the Facebook end. Any idea?
BTW, the Vanilla documentation for FB is slightly outdated I guess.
Thanks,
Prad
Best Answer
-
Prad New
Okay, managed to fix it by enabling "Web OAuth Login". Now I'm getting FB login page correctly. However, once I enter FB user name and password, I get "UniqueID is required" message. One of the old post suggested to check the SecretCode for whitespace. Unfortunately, I couldn't find any whitespace in my settings
6
Answers
This generally occurs when the Facebook app and the Vanilla plugin are not configured correctly. For security, only the registered callback URL is accepted as a redirect URL.
This would generally be fixed by putting the correct URL in the Facebook app settings page.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
Thanks for the reply. Are you talking about "Site Url" setting?
Okay, managed to fix it by enabling "Web OAuth Login". Now I'm getting FB login page correctly. However, once I enter FB user name and password, I get "UniqueID is required" message. One of the old post suggested to check the SecretCode for whitespace. Unfortunately, I couldn't find any whitespace in my settings