S
Supabase•2w ago
Rich Jones

AUTH - email

Hi I have set up a new project to test the use of email auth. I have invited a user, who receives the invitation, when clicking on "Accept the invite" the url https://{project}.supabase.co/auth/v1/verify?token=87762ba307ce4f0ca1e12ce5586729d194f7288b1e71c6a3a29036d6&type=invite&redirect_to=https://{project}.supabase.co produces https://{project}.supabase.co/#error=access_denied&error_code=otp_expired&error_description=Email+link+is+invalid+or+has+expired / {"error":"requested path is invalid"} In URL config the, site URL is the https://{project}.supabase.co and the redirect is https://*.supabase.co Should I be able to add/invite a user without an implementing code and if so what might I be doing wrong ? Thanks in advance.
4 Replies
silentworks
silentworks•2w ago
I'm not sure why you are configuring your URLs to supabase.co instead of your own domain. The invite link is incorrect itself. The error about the link being invalid or expired would likely happen if the link was pre-fetched which some email clients do.
Rich Jones
Rich JonesOP•2w ago
Thanks, I am trying to test AUTH-email flows before I build them into my app. I want to isolate this aspect of build, so that I know what the code in my app needs to be.
silentworks
silentworks•2w ago
I'm not sure what that mean, but you cannot use the Supabase URL as your redirectTo.
Rich Jones
Rich JonesOP•2w ago
OK, thank you, thats helpful to know. I may need a test harness application then 🙂

Did you find this page helpful?