Is it possible to use Flask-Social and Flask-Security if I only want to use Facebook Login, for example, to register a user and log in, i.e. no local registration / login forms?
I looked at the sample application with the flag software and the documentation, but could not determine if this was possible. In the sample application, users cannot log into Facebook if they have not previously registered. After registering with the sample application, they can link their Facebook account with their local account.
When I tried to call social.facebook.get_connection (), I got the AttributeError 'AnonymousUser' object has no attribute 'id' because there is no current_user , which is determined by the fly protection after registration / login.
python flask flask-security facebook-oauth
user981023
source share