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
{{ message }}
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.
I'm using flask security and thought flask social would be the way to get google api log in going for my site. Is flask social using a depreciated method?
It is - here's a quick fix I put in when on_login_failed is triggered
def on_login_failed(sender, provider, oauth_response):
connection_values = get_connection_values_from_oauth_response(provider, oauth_response)
if provider.name == "Google":
name = connection_values['full_name']['givenName'] + " " + connection_values['full_name']['familyName']
connection_values['display_name'] = name
connection_values['full_name'] = name
# rest of your code after this
Google oauth1.0 is deprecated
The text was updated successfully, but these errors were encountered: