Skip to main content

core.medplumclient.startnewuser

Home > @medplum/core > MedplumClient > startNewUser

MedplumClient.startNewUser() method

Initiates a new user flow.

This method is part of the two different user registration flows: 1) New Practitioner and new Project 2) New Patient registration

Signature:

startNewUser(newUserRequest: NewUserRequest, options?: MedplumRequestOptions): Promise<LoginAuthenticationResponse>;

Parameters

ParameterTypeDescription
newUserRequestNewUserRequestRegister request including email and password.
optionsMedplumRequestOptions(Optional) Optional fetch options.

Returns:

Promise<LoginAuthenticationResponse>

Promise to the authentication response.