Capture 3rd party access / refresh token?
-
I was wondering if FusionAuth allows for the capture of the access / refresh token from a 3rd party OIDC provider such as Google. The use-case would be where we have users sign into our application, but we have 3rd party integrations that may require the token.
We'd like to spare the user from having to auth multiple times within our application to access these 3rd party integrations.
-
Yes. It should be present on the identity link object: https://fusionauth.io/docs/v1/tech/apis/identity-providers/links
The type of token returned depends on the identity provider, but for Google I believe it is the access token.