© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
11 replies
Hal

Please bring `auth.setAuth` back

Hi, I upgraded my supabase to V2 but some parts crashed in my code. I looked into it and finally figured it out.
setAuth
setAuth
is missing in V2.

In my case, I need to change auth role to do different things to control access. how can I handle this for now? Can you bring it back? Thanks

https://github.com/supabase/supabase/issues/8490#issuecomment-1284162765
GitHub
setAuth() function missing in supabase-js v2 · Issue #8490 · supaba...
Bug report setAuth() function is missing in the supabase-js v2 RC. Describe the bug setAuth() function is missing in the supabase-js v2 RC. To Reproduce Going through the functions & docs, ...
setAuth() function missing in supabase-js v2 · Issue #8490 · supaba...
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

Server auth without setAuth
SupabaseSSupabase / help-and-questions
4y ago
Security implications of auth.setAuth
SupabaseSSupabase / help-and-questions
4y ago
supabase.auth.setAuth(token) deprecated, docs deleted, no way to find alternative
SupabaseSSupabase / help-and-questions
4y ago
manually use setAuth() on SIGNED_IN?
SupabaseSSupabase / help-and-questions
4y ago