core.medplumclient.getexternalauthredirecturi
Home > @medplum/core > MedplumClient > getExternalAuthRedirectUri
MedplumClient.getExternalAuthRedirectUri() method
Builds the external identity provider redirect URI.
Signature:
getExternalAuthRedirectUri(authorizeUrl: string, clientId: string, redirectUri: string, loginRequest: BaseLoginRequest, pkceEnabled?: boolean): string;
Parameters
Parameter | Type | Description |
---|---|---|
authorizeUrl | string | The external authorization URL. |
clientId | string | The external client ID. |
redirectUri | string | The external identity provider redirect URI. |
loginRequest | The Medplum login request. | |
pkceEnabled | boolean | (Optional) Whether |
Returns:
string
The external identity provider redirect URI.