Quantcast
Channel: Active questions tagged svelte - Stack Overflow
Viewing all articles
Browse latest Browse all 1541

How do I check which email was verified when verifying the current and new email when updating an email in Supabase?

$
0
0

I am working on an email confirmation page for the two-step email verification process in Supabase when updating an email. To enhance the user experience, I want to display which email has been verified and provide a hint about the email that is still pending verification.

However, Supabase does not provide any extra details in the URL parameters or elsewhere, which makes this challenging. One way to determine if the verification process is fully completed (i.e., both emails are verified, and the email has been changed) is by checking if the user is logged out, as Supabase automatically logs you out once the email has been verified.

To make some progress, I have included the old and new email addresses as oldEmail and newEmail URL parameters. This way, we can at least pass some information through the URL.


Viewing all articles
Browse latest Browse all 1541

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>