You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is an improvement request/suggestion more than an issue.
django-allauth allows exchanging the short-lived Facebook access token for a long-lived one by setting "EXCHANGE_TOKEN": True in the Facebook provider settings.
This is an improvement request/suggestion more than an issue.
django-allauth allows exchanging the short-lived Facebook access token for a long-lived one by setting
"EXCHANGE_TOKEN": True
in the Facebook provider settings.Code in django-allauth:
https://github.com/pennersr/django-allauth/blob/25fe632acf12571ae2ac9e692e8890019d5a6e7b/allauth/socialaccount/providers/facebook/views.py#L97-L108
I needed django-rest-auth to do the same and did it by overriding the
get_social_login
method in myFacebookSocialConnectSerializer
If you think django-rest-auth would benefit from this, I'll be happy to open a pull request :)
The text was updated successfully, but these errors were encountered: