Tags: prest/prest
Tags
Bump github.com/lestrrat-go/jwx/v2 from 2.0.20 to 2.0.21 (#877) Bumps [github.com/lestrrat-go/jwx/v2](https://github.com/lestrrat-go/jwx) from 2.0.20 to 2.0.21. - [Release notes](https://github.com/lestrrat-go/jwx/releases) - [Changelog](https://github.com/lestrrat-go/jwx/blob/develop/v2/Changes) - [Commits](lestrrat-go/jwx@v2.0.20...v2.0.21) --- updated-dependencies: - dependency-name: github.com/lestrrat-go/jwx/v2 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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.
Multi-database support (#869) * Multi-database support Initial version of multi-database support * Github workflow: create multiple test databases * `adapters/postgres/postgres_test.go`: Use dedicated `TestCase` table for tests, to avoid `controllers/tables_test.go` to fail on unexpected data (secondary database will only get some INSERTs those come from context-aware tests, other data will end up in default database) * `adapters/postgres/internal/connection/conn.go`: Removed unused varaible * Updated comments explaining the logic around adding database connections to the pool * Recently changed files re-formatted with `go fmt` * + Added comments around tests for multi-database support
PreviousNext