How can I skip the page and automatically logged in users, when they clicked on Login in With Google.
You need to set up SOCIALACCOUNT_LOGIN_ON_GET=True
in your configuration (by default it's False
). according to https://django-allauth.readthedocs.io/en/latest/configuration.html:
SOCIALACCOUNT_LOGIN_ON_GET (=False)
Controls whether or not the endpoints for initiating a social login (for example, “/accounts/google/login/”) require a POST request to initiate the handshake. For security considerations, it is strongly recommended to require POST requests.