Supabase auth signup for already existing email id and a potential security vulnerability #29327
Unanswered
Prateek32177
asked this question in
Questions
Replies: 2 comments 2 replies
|
Hi I'm having the same issue with scenario 1. May I ask how you solved it? Thank you. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I am facing few issue in my auth flow,
Scenario
When user already exist with an email id and email is confirmed
Auth is still allowing to signup with same email id and not returning already exist error,
I know that it's intentional and it returns fake user data but I don't want it this way I want to show user already exist,
Please suggest a way,
Scenario 2
When user sign up with new email id but didn't confirmed mail and have status waiting for verification,
In this case I want to allow user to resend confirmation how can I identify if email already exist but confirmation is not completed yet,
One weird thing I found here is in case someone have signed up but not yet confirmed with email again with same email but different meta data and along with user name password if we send meta data like firstname last name then they don't override means meta data will remain same which was filled for the first time. Ideally it should override IMO.
I am kinda block due to this please advise,
FYI : I already tried identities.length =0 way which works fine with email already exist and verified but not with waiting for verification status emails
All reactions