SupabaseS
Supabase•4y ago
cappie013

Save access_token and refresh_token after successful OAuth authentication

Hi 🧇!

I'm currently using Supabase to authenticate my user with Github. I would then want to use the access_token and refresh_token provided to do request later.

Is there a way to save those information? Moreover, I might use more provider in the future, I would also need to save those informations in a "providers" table I have created

When using
getSession
I got a lot of information, and when connected with 2 providers, the first token seems to never change
Was this page helpful?