When can I access user provider access tokens?

Just to clarify, if I want to use user provider access tokens to make API calls, subscribe to an events api, then I need to do that when the user has signed in using that provider? And would identity linking work similar (say if they used a different authentication method, but wanted to do something without having to sign out and in again)? Even if already linked; just direct them through link identity and use the provider token?

From what I can tell, the token has to be part of the session, so the user would need to have signed in with that provider, but there's no other method from what I can see, as there's no way to directly access the auth schema.
Was this page helpful?