© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
14 replies
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
getSession
I got a lot of information, and when connected with 2 providers, the first token seems to never change
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

Realtime doesn't refresh access_token after expiry
SupabaseSSupabase / help-and-questions
3y ago
Supabase Swift authentication / refresh token errors
SupabaseSSupabase / help-and-questions
3mo ago
google oauth issue /#access_token=
SupabaseSSupabase / help-and-questions
6mo ago
getClaims and token refresh
SupabaseSSupabase / help-and-questions
4mo ago