File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -901,6 +901,9 @@ This example sends the signed claims:
901
901
"exp": 1538207635
902
902
}
903
903
904
+ It is important to set ` jwtAuth.audiences ` and ` jwtAuth.issuers ` to avoid tokens from other
905
+ projects on the same authentication provider to work on your project.
906
+
904
907
NB: The JWT implementation only supports the RSA and HMAC based algorithms.
905
908
906
909
##### Configure and test JWT authentication with Auth0
@@ -923,7 +926,9 @@ file. Be sure to fill these three variables:
923
926
- ` clientId ` with your Client ID
924
927
- ` audience ` with the API URL you created in Auth0
925
928
926
- ⚠️ If you don't fill the audience parameter, it will not work because you won't get a valid JWT.
929
+ Note that if you don't fill the audience parameter, it will not work because you won't get a valid JWT.
930
+ Also note that you should fill ` jwtAuth.audiences ` to ensure the tokens are validated to be generated
931
+ for your application.
927
932
928
933
You can also change the ` url ` variable, used to test the API with authentication.
929
934
You can’t perform that action at this time.
0 commit comments