SupabaseS
Supabase4y ago
Hal

Can't update user's metadata in server

For some reason I have to handle the user stuff in server. I tried to update user's metadata in server but it failed.

I initialized supabase with custom headers since
setAuth
is not available in V2. My code is based on this issue. But it returned AuthSessionMissingError: Auth session missing!. I tried the service role key it's the same result.
unknown.png
GitHub
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, ...
Was this page helpful?