Thursday, July 7, 2022

Fetch email from google

Hi guys I want a solution from your side.
I am having a cutom authentication in django. I want to have a login with google option that gets the user's email address and authenticates with django backend.
Note that the username must not be the google username, it should be the username saved in the django model.

Like my google username is CodeWithLaksh and the django  username is rohan123, I want to display rohan123 instead of CodeWithLaksh. Hopr you all understand my problem. Please provide my a solution (*if any).

Thanks and Regards
Lakshyaraj Dash

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/a6902c4d-fc45-42f3-ac54-55d3ab1b3f21n%40googlegroups.com.

No comments:

Post a Comment