Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Password Reset Emails don't come if Authenticated via social_django [google auth] #10

Open
purveshmakode24 opened this issue Oct 11, 2020 · 0 comments
Labels
bug Something isn't working enhancement New feature or request hacktoberfest

Comments

@purveshmakode24
Copy link
Owner

purveshmakode24 commented Oct 11, 2020

Describe the bug
A user who authenticated using "social_django" won't be able to reset or set the password.

All the emails that are registered through "social_django" backend do not have any passwords set in their account. So, If the same user try to reset their password from the form, they do not get email in their mailbox, and the users who registered via django backend receive the email properly.

To Reproduce
Steps to reproduce the behavior:

  1. Sign in with Google Account. [Make sure you didn't create an account with the same email id using sign up form before]
  2. Log out from your Account.
  3. Go to login page and click "Forgot Password?".
  4. Enter your required email id. [Make sure you enter the same email id as of Google Account]
  5. You won't get an email; And thus you won't be able to set the password.

Expected behavior

  • In case of social auth, either make "Forgot Password?" link to be used to "Set Password"
  • OR
If a/c doesn't have password set initially - because, as social_auth authentication doesn't set password by default
{
	Give option to "Set the Password" in the user's profile.
} 
else 
{
	Give option to "Change the Password" (including enter your old password for verification) in the user's profile if the password is already present. 
}
@purveshmakode24 purveshmakode24 added bug Something isn't working enhancement New feature or request hacktoberfest labels Oct 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request hacktoberfest
Projects
None yet
Development

No branches or pull requests

1 participant