Skip to main content

core.medplumclientoptions.tokenurl

Home > @medplum/core > MedplumClientOptions > tokenUrl

MedplumClientOptions.tokenUrl property

OAuth2 token URL.

Default value is baseUrl + "/oauth2/token".

Can be specified as absolute URL or relative to baseUrl.

Use this if you want to use a separate OAuth server.

Signature:

tokenUrl?: string;