AuthContainer.linkOAuthProviderWithAccessToken() method
Links with OAuth SSO provider using access token.
Signature:
linkOAuthProviderWithAccessToken(providerID: string, accessToken: string): Promise<User>;
Parameters
Parameter | Type | Description |
---|---|---|
providerID | string | SSO provider ID |
accessToken | string | SSO provider access token |
Returns:
Promise<User>
Remarks
This feature must be enabled in configuration, otherwise it will fail.