Get User Provider Token

Get an existing user's provider token, using a valid management key.

This API endpoint will loads the user's access token generated by the OAuth/OIDC provider, using a valid management key. When querying for OAuth providers, this only applies when utilizing your own account with the provider and have selected Manage tokens from provider selected under the social auth methods.

See also

Endpoint Authentication

Use authorization bearer header with the following format:

Authorization: Bearer <ProjectId:ManagementKey>

SecurityAuthProjectIdMgmtKey
Request
query Parameters
loginId
string
provider
string
withRefreshToken
boolean
Responses
200

OK

get/v1/mgmt/user/provider/token
Request samples
Response samples
application/json
{
  • "provider": "string",
  • "providerUserId": "string",
  • "accessToken": "string",
  • "expiration": 0,
  • "scopes": [
    ],
  • "refreshToken": "string"
}