core.medplumclient.startgooglelogin | Medplum
MedplumClient.startGoogleLogin() method
Tries to sign in with Google authentication. The response parameter is the result of a Google authentication. See Google Sign-In Credential Response for full details.
Signature:
startGoogleLogin(loginRequest: GoogleLoginRequest, options?: MedplumRequestOptions): Promise<LoginAuthenticationResponse>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| loginRequest | GoogleLoginRequest | Login request including Google credential response. |
| options | MedplumRequestOptions | (Optional) Optional fetch options. |
Returns:
Promise< LoginAuthenticationResponse >
Promise to the authentication response.