You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/configuration.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -474,7 +474,7 @@ same response as any other unauthenticated request.
474
474
|`/issuer`| String |:red_circle:**Yes**| N/A | The token issuer to trust, matched against the `iss` claim |
475
475
|`/audience`| String |:red_circle:**Yes**| N/A | The audience this instance identifies as. A token is accepted when its `aud` claim includes this value, so a token minted for several audiences at once is accepted as long as this one is among them |
476
476
|`/algorithms`| Array |:red_circle:**Yes**| N/A | The JSON Web Signature algorithms the policy accepts. One or more of `RS256`, `RS384`, `RS512`, `PS256`, `PS384`, `PS512`, `ES256`, `ES384`, `ES512`, and `EdDSA`|
477
-
|`/jwksUri`| String | No | Discovered from the issuer | The URL of the issuer's JSON Web Key Set. When omitted, it is discovered from the issuer's OpenID Connect metadata at `{issuer}/.well-known/openid-configuration`|
477
+
|`/jwksUri`| String | No | Discovered from the issuer | The URL of the issuer's JSON Web Key Set. When omitted, it is discovered from the issuer's OpenID Connect metadata at `{issuer}/.well-known/openid-configuration`, which requires the issuer to be an `https` URL that publishes a valid OpenID Provider metadata document. Set it explicitly for an issuer that does not meet that bar|
478
478
479
479
For example, the following instance keeps `/docs` public, gates `/partners`
480
480
behind an API key, and protects `/internal` with a JWT policy that trusts a
@@ -535,7 +535,7 @@ follows is signed with a secret of the instance's own, unrelated to the provider
|`/title`| String | No | The policy name | A human readable version of the policy name |
538
-
|`/issuer`| String |:red_circle:**Yes**| N/A | The OpenID Connect issuer to trust, matched against the identity token's `iss` claim and used to discover the provider's metadata, including the signing key set that verifies tokens |
538
+
|`/issuer`| String |:red_circle:**Yes**| N/A | The OpenID Connect issuer to trust, matched against the identity token's `iss` claim and used to discover the provider's metadata, including the signing key set that verifies tokens. It must be an `https` URL, as OpenID Connect Discovery requires. Front a provider that only speaks plain HTTP with TLS termination and trust its certificate authority|
539
539
|`/clientId`| String |:red_circle:**Yes**| N/A | The client identifier registered with the provider for this instance |
540
540
|`/clientSecret`| Object |:red_circle:**Yes**| N/A | The client secret shared with the provider, read from an environment variable so that it never lives in the configuration file |
541
541
|`/clientSecret/environmentVariable`| String |:red_circle:**Yes**| N/A | The name of the environment variable that holds the client secret |
0 commit comments