Valid OAuth redirect URIs for facebook - Django Social Auth

Viewed 2500

I am referring tutorials to implement django social-auth, I hace successfully implemented it for Twitter and Google+ . But, in case of facebook , I am not seeing "Valid OAuth redirect URIs" which has to provided for facebook. I assume that the new developer console of facebook has this new field.

By leaving the field empty, I am still able to login but I am not getting relevent details from FB. It might be because of this "redirect URI".

enter image description here

I followed below tutorials

I guessed that "http://localhost:8000/oauth/complete/facebook/" could be the URI looking at google+ and twitter pattern but I am still not getting email ID of user.

Can someone please confirm the redirect URI that has been used by them for Facebook in their Django App

2 Answers

After hours of headache I finally found out that it was

https://{your_website_name}/social-auth/complete/facebook/

e.g. https://www.instagram.com/social-auth/complete/facebook/

Note that https is made mandatory by facebook.

Related