question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Signup confirmation email link buggy on second click

See original GitHub issue

Bug 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:

  1. signup as a user of a supabase app (triggered by supabase.auth.signup())
  2. open confirmation email and click the link, and find yourself in the app as expected
  3. go back to mailbox and click the link again (say I forgot if I clicked it or not)
  4. 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:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

5reactions
tylermercercommented, May 8, 2021

What is the status on this? The PRs mentioned above were merged but it still happens.

2reactions
carlosstenzelcommented, Jan 31, 2021

understand

double clicking to confirm it returns the error.

{"code":404,"msg":"User not found"}

@kiwicopple . can we make a lake to deal with this error?

** if the token does not exist, just redirect to the site

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found