Supabase Auth Example
View the code on GitHub
Sign Up
Email
Password
Log In
Email
Password
Access Token
Default expiry is 60 minutes
Refresh Token
Supabase-js will use this to automatically fetch a new accessToken for you every 60 mins whilst the client is running
Fetch User Details
Fetch
Logout
Logout