Skip to content

Commit 086a012

Browse files
authored
Add $oidc_jwt_keyfile info
1 parent 1e1b755 commit 086a012

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ All files can be copied to **/etc/nginx/conf.d**
6363
* Set the **redirect URI** to the address of your NGINX Plus instance, with `/_codexch` as the path, e.g. `https://my-nginx.example.com/_codexch`
6464
* Ensure NGINX Plus is configured as a confidential client (with a client secret)
6565
* Make a note of the `client ID` and `client secret`
66+
* Download the `jwks_uri` JWK file to your NGINX Plus instance
6667

6768
* Obtain the URL for the **authorization endpoint**
6869

@@ -75,6 +76,7 @@ Review the following files copied from the GitHub repository so that they match
7576
* **frontend.conf** - this is the reverse proxy configuration and where the IdP is configured
7677
* Modify the upstream group to match your backend site or app
7778
* Configure the preferred listen port and [enable SSL/TLS configuration](https://docs.nginx.com/nginx/admin-guide/security-controls/terminating-ssl-http/)
79+
* Set the value of `$oidc_jwt_keyfile` to match the downloaded JWK file from the IdP and ensure that it is readable by the NGINX worker processes
7880
* Modify all of the `set $oidc_` directives to match your IdP configuration
7981
* Set a unique value for `$oidc_hmac_key` to ensure nonce values are unpredictable
8082

0 commit comments

Comments
 (0)