-
-
Notifications
You must be signed in to change notification settings - Fork 280
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
API: Add support for JWT generated by IDPs (#871)
* Adding JWT_WELLKNOWN and JWT_JWKS to support RSA 256 JWT Tokens * Update of the Go version and tweak to docker-compose to bring back local unit tests * Updated the unit tests for fetchJWKS and wellknown parameter * - Update of Dockerfile of testdata to use golang 1.22 - Refactoring of logic in JwtMiddleware - Removing of comment in french that was a duplicate of correct comment in middlewares_test.go - Added timeout to WellKnown Config http call - Renaming of JWTWellKnown config parameter to JWTWellKnownURL for more precision * Moved the close server statements to defer function to ensure proper cleanup.
- Loading branch information
1 parent
366719f
commit a3b6302
Showing
9 changed files
with
323 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.