Skip to content

Commit

Permalink
fix for #991
Browse files Browse the repository at this point in the history
  • Loading branch information
mevdschee committed Oct 15, 2023
1 parent a0c5de0 commit 115c390
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -901,6 +901,9 @@ This example sends the signed claims:
"exp": 1538207635
}

It is important to set `jwtAuth.audiences` and `jwtAuth.issuers` to avoid tokens from other
projects on the same authentication provider to work on your project.

NB: The JWT implementation only supports the RSA and HMAC based algorithms.

##### Configure and test JWT authentication with Auth0
Expand All @@ -923,7 +926,9 @@ file. Be sure to fill these three variables:
- `clientId` with your Client ID
- `audience` with the API URL you created in Auth0

⚠️ If you don't fill the audience parameter, it will not work because you won't get a valid JWT.
Note that if you don't fill the audience parameter, it will not work because you won't get a valid JWT.
Also note that you should fill `jwtAuth.audiences` to ensure the tokens are validated to be generated
for your application.

You can also change the `url` variable, used to test the API with authentication.

Expand Down

0 comments on commit 115c390

Please sign in to comment.