## External Identity Provider (IdP) configuration details.

### Elements

| Name               | Required | Type      | Description                                                                                   |
|--------------------|----------|-----------|-----------------------------------------------------------------------------------------------|
| authorizeUrl       | ✓        | string    | Details<br>Remote URL for the external Identity Provider authorize endpoint.                  |
| tokenUrl           | ✓        | string    | Details<br>Remote URL for the external Identity Provider token endpoint.                      |
| tokenAuthMethod    |          | code      | Details<br>Client Authentication method used by Clients to authenticate to the Authorization Server when using the Token Endpoint. If no method is registered, the default method is client_secret_basic. |
| userInfoUrl        | ✓        | string    | Details<br>Remote URL for the external Identity Provider userinfo endpoint.                   |
| clientId           | ✓        | string    | Details<br>External Identity Provider client ID.                                             |
| clientSecret       | ✓        | string    | Details<br>External Identity Provider client secret.                                         |
| usePkce            |          | boolean   | Optional flag to use PKCE in the token request.<br>Details<br>Optional flag to use PKCE in the token request. |
| useSubject         |          | boolean   | Optional flag to use the subject field instead of the email field.<br>Details<br>Optional flag to use the subject field instead of the email field. |

### Search Parameters

_None_

### Inherited Elements

| Name | Required | Type | Description |
|------|----------|------|-------------|
|      |          |      |             |

- [Elements](/content/docs/api/fhir/medplum/identityprovider#elements/index.html)
- [Search Parameters](/content/docs/api/fhir/medplum/identityprovider#search-parameters/index.html)
- [Inherited Elements](/content/docs/api/fhir/medplum/identityprovider#inherited-elements/index.html)
