Skip to main content

core.medplumclient.signinwithexternalauth

Home > @medplum/core > MedplumClient > signInWithExternalAuth

MedplumClient.signInWithExternalAuth() method

Initiates sign in with an external identity provider.

Signature:

signInWithExternalAuth(authorizeUrl: string, clientId: string, redirectUri: string, baseLogin: BaseLoginRequest): Promise<void>;

Parameters

ParameterTypeDescription
authorizeUrlstringThe external authorization URL.
clientIdstringThe external client ID.
redirectUristringThe external identity provider redirect URI.
baseLoginBaseLoginRequestThe Medplum login request.

Returns:

Promise<void>