© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago•
5 replies
Zachoo

Set password after email invite

Hey Guys and Gals,

I have a feature in my web app where admins invite other users to their tenant. This consists of the admin entering the new users email and sending an invite. This triggers an edge function which creates the user and send the invite whilst making sure that that user is connected to the correct tenant and has the right role etc. This all works great and the email is received.

My dilemma is how I then set the password for this user. When you click the 'accept invitation' link in the email you are redirected to a set password page I have created, but the user is not authenticated so I cannot simply use supabase.auth.updateUser(). I have been able to extract the access token from the invite URL however this cannot be used alongside the .updateUser() API. How can i simply set the password for this newly invited user ?

Language: Flutter/Flutter Web

This is killing me someone please help !
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Error sending invite email
SupabaseSSupabase / help-and-questions
2mo ago
Email -password signup
SupabaseSSupabase / help-and-questions
3y ago
Invite User To Update Password
SupabaseSSupabase / help-and-questions
4y ago
NextJS: How do I set password for a user that was invited by email
SupabaseSSupabase / help-and-questions
6mo ago