Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 1.04 KB

File metadata and controls

34 lines (22 loc) · 1.04 KB

Medplum OAuth Demo

This is a demonstration of how to use Medplum with an External Auth Provider or "Federated Identities".

This repo is similar to medplum-client-oauth-demo, except that is uses an external identity provider.

image

Setup

Setup your external authentication provider (Auth0, AWS Cognito, Okta, etc). Use "https://api.medplum.com/auth/external" as the "redirect URI". Note the following details:

  • Authorize URL
  • Token URL
  • UserInfo URL
  • Client ID
  • Client secret

Setup your Medplum account:

Update the values in src/main.ts accordingly.

Now you can run this demo:

npm run dev

Open your web browser to http://localhost:8000/