st4lk / django-rest-social-auth

OAuth signin with django rest framework
MIT License
521 stars 122 forks source link

Facebook jwt auth is not working properly (in the example project) #104

Closed NotSoShaby closed 4 years ago

NotSoShaby commented 4 years ago

I cloned the repo and followed instructions, but still Facebook login shows this:

image

the site then has a pop-up: Something went wrong, maybe you haven't installed 'django-rest-framework-simplejwt'?

needless to say, i do have djangorestframework-simplejwt installed

Any ideas?

st4lk commented 4 years ago

Thanks for spotting this out. I've submitted a fix, try to follow updated instructions: https://github.com/st4lk/django-rest-social-auth#example

In short, facebook app that is used in example project is in live mode (not in development). Facebook requires HTTPS support in the website.

In updated instructions, it is written how to run 127.0.0.1 server with HTTPS.