Signup confirmation email link buggy on second click
See original GitHub issueBug report
Describe the bug
if I click the account confirmation link again after confirming, I get an ugly JSON 404 response. Since this is user facing, it can be confusing.
The JSON response looks like this {"code":404,"msg":"User not found"}
.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
- signup as a user of a supabase app (triggered by supabase.auth.signup())
- open confirmation email and click the link, and find yourself in the app as expected
- go back to mailbox and click the link again (say I forgot if I clicked it or not)
- end up on the error message above
Expected behavior
A proper HTML page with a meaningful message would be better. Maybe “you’ve already confirmed your account”?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:10 (5 by maintainers)
Top Results From Across the Web
Is A New Signup Registration Confirmation Email Even ...
With the odds already greatly stacked against people attempting to start a forum having any form of success is a confirmation link necessary?...
Read more >Confirmation email link loaded by Outlook causing double ...
Once the user clicks the links, he gets and error because the account is already activated. Is there any way to prevent this?...
Read more >Issues with confirmation code or password reset emails
If you didn't receive a confirmation code or password reset email. Make sure there are no typos in the email you submitted.
Read more >Outlook Issues: How to Fix The Most Annoying Bugs in 2022
How to fix the most annoying Outlook issues (account access, synchronization, authentication, and others)? Read our guide to troubleshoot!
Read more >Fixes or workarounds for recent issues on Outlook.com
Outlook.com issues affecting email messages, attachments, and features ... Repeated sign in needed with iOS mail app [WORKAROUND].
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
What is the status on this? The PRs mentioned above were merged but it still happens.
understand
double clicking to confirm it returns the error.
@kiwicopple . can we make a lake to deal with this error?
** if the token does not exist, just redirect to the site