![]() ![]() Renamed the api namespace to admin, the admin namespace will only contain methods that should only be used in a trusted server-side environment with the service role key.Indicates that the incorrect credentials were passed.Indicates that a cookie is expected but missing.Indicates that a session is expected but missing.No more throwing of random errors, gotrue-js v2 always returns a custom error type: ( PR).Deprecated and removed setting for multitab support because getSession() and gotrue’s reuse interval setting takes care of session management across multiple tabs ( PR).getSession() will always return a valid session if a user is already logged in, meaning no more random logouts. Deprecated and removed session(), user() in favour of using getSession() instead.signIn method is now split into signInWithPassword, signInWithOtp, signInWithOAuth ( PR).By default, this will be namespace-d with the supabase project ref. supabase-js client allows passing a storageKey param which will allow the user to set the key used in local storage for storing the session. ![]() Use undefined instead of null for function params, types, etc.TypeScript typings have been reworked PR.shouldThrowOnError has been removed until all the client libraries support this option ( PR).To set a custom access_token jwt instead, pass the custom header into the createClient() method provided: ( PR) All changes # ![]() A refresh token never expires and can only be used once.ĭeprecated and removed setAuth().
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |