Clerk: Getting the OAuth access and/or refresh token of user
The title should say it all. Does Clerk's user interface even include the two?
6 Replies
useAuth | Clerk
Access the auth state inside your React components.
Edit: I now know that in order to get the access token I need to make an API call to the Clerk API. Is the refresh token not stored in Clerk's database and I need to retrieve it from Google?
Thanks for your reply. Isn't this the session token? I don't think it's what I'm looking for
i think clerk abstracts that away from you
if you are after the OAuth provider token there is a backend api call that retrieved it. (e.g twitch oauth token to interact with their api)