© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•7mo ago•
5 replies
Hussein Kizz 👨💻

How to signup and keep current user session

Hello @garyaustin I have this situation where I have admin dashboard where admin can create staff members, am using auth.signup api but then it makes the new user take on the current session which I don't want, just want to create a user but not log them in. How do I go about this, currently I did a hack, I first store current user's session in some state then use set session to set it back after but that is causing some funny situations... looked around couldn't find a definitive way to do this, any help will be appreciated!
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

user signup
SupabaseSSupabase / help-and-questions
4y ago
Prevent the auth.signup from changing user session
SupabaseSSupabase / help-and-questions
3y ago
How to add data while user signup
SupabaseSSupabase / help-and-questions
4y ago
signUp() - how to show that user already exists
SupabaseSSupabase / help-and-questions
4y ago