Skip to content

Commit

Permalink
Fix OIDC docs #459
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mohr committed Aug 9, 2024
1 parent 108947e commit da66a8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ HTTP Basic is supported according to [RFC 7617](https://datatracker.ietf.org/doc
For OpenID Connect some additional options must be provided, which currently follow the
[oidc-client-ts Configuration options](https://github.com/okta/okta-auth-js?tab=readme-ov-file#configuration-options).
These options (except for `issuer`) must be provided in the property `oidcConfig`.
The `clientId` option defaults to `stac-browser`.
The `client_id` option defaults to `stac-browser`.
The redirect URL for the OIDC client must be set as follows:

#### Example
Expand All @@ -376,7 +376,7 @@ The redirect URL for the OIDC client must be set as follows:
{
type: 'openIdConnect',
openIdConnectUrl: 'https://stac.example/.well-known/openid-configuration',
oidcOptions: {
oidcConfig: {
client_id: 'abc123'
}
}
Expand Down

0 comments on commit da66a8b

Please sign in to comment.