Bulk Data Client
    Preparing search index...

    Function detectTokenUrl

    • Given a FHIR server baseURL, looks up it's .well-known/smart-configuration and/or it's CapabilityStatement (whichever arrives first) and resolves with the token endpoint as defined there.

      Parameters

      • baseUrl: string

        The base URL of the FHIR server

      Returns Promise<string>