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