Auth
Auth Endpoints
Reset Password EndpointPOST /auth/resetpassword Initiates a password reset for a user. If successful, sends a password reset email to the user (unless sendEmail is set to false which is recommended for custom reset password flows). Then, the redirectUri in the email sent to the user will bring the user to a page that calls the /auth/setpassword endpoint after the user enters their new password.
Check out custom emails for directions to create a custom reset password flow.
Set Password EndpointPOST /auth/setpassword NOTE To see an example of the Medplum app's set password page, check out the code in SetPasswordPage.tsx. Notice that the page
Sets a new password for a user using a security request token. This endpoint is used to complete both password reset and user invitation flows. After redirect from the reset password or invite email, this endpoint can be called with the following parameters: