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

Problem with existing email #228

Open
Damian232 opened this issue Jun 18, 2024 · 0 comments
Open

Problem with existing email #228

Damian232 opened this issue Jun 18, 2024 · 0 comments

Comments

@Damian232
Copy link

Hello,

I found a problem with signing up by email that is already used.
For example someone login in and sign up throughout normal password based. Then he tries to login using google gmail account since its the same email we used.

This behavior throws error 500 with duplicate key (handling in convert-token view).
Of course I can modify library by myself but every time i go and rebuild my docker container the package is rebuild.

Is there anyway you can add some kind of exception that when the email already exists then view returns not 500 but for example 403 already exists with appropriate message email:backend-type so on the frontend side we can catch it and returns that to user.

Of course i would be very happy to collaborate on that if you are lacking time ;)

Thanks very much in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant