[Answered ]-How to get email from google oauth token in django allauth social login?

1👍

Django allauth has a view at socialaccount_connections which should allow a user that has already signed in using a local account to connect a third party app like google oauth.

Check out https://django-allauth.readthedocs.io/en/latest/views.html#social-connections-socialaccount-connections.

Then you can get to this page using this:

<a href="{% url 'socialaccount_connections' %}">Connections</a>

You need to have the connections template in your template folder.

Leave a comment