- config: add new
set_symfony_roles_from_scopes
option, to allow disabling the default scope to role mapping.
- config: removed support for the deprecated authorization_attributes.scope key, use authorization_attributes.scopes instead.
- Add support for kevinrob/guzzle-cache-middleware v6
- Various docs updates
- Test with PHP 8.4
- Port to phpstan v2
- Add support for the following JWT signing algorithms: ES256, ES384, ES512, HS256, HS384, HS512, EdDSA (previously only RS256, RS384, RS512, PS256, PS384, PS512 were supported)
- Fix attribute access in case the user has no user ID.
- Fix user attribute provider in case it is called outside of a request context, for example in health checks.
- Add new optional
user_identifier_claims
bundle config which allows users to choose which claims to use as the user identifier. The default is the same as before. - Provide a session ID spanning the lifetime of the token for service accounts instead of a random one for each request.
- Adjust for core bundle API breakage in v0.1.180
- Minor cleanups
- Add a conflict with dbp/relay-auth-bundle
- Renamed the bundle from "auth-bundle" to "core-connector-oidc-bundle"
Migration guide:
- Replace the bundle in your Symfony app:
mv config/packages/dbp_relay_auth.yaml temp.yaml
composer remove dbp/relay-auth-bundle
mv temp.yaml config/packages/dbp_relay_core_connector_oidc.yaml
sed -i 's/dbp_relay_auth/dbp_relay_core_connector_oidc/g' config/packages/dbp_relay_core_connector_oidc.yaml
composer require dbp/relay-core-connector-oidc-bundle
- Replace usage of
Dbp\Relay\AuthBundle\API\UserRolesInterface
in your code or services config withDbp\Relay\CoreConnectorOidcBundle\API\UserRolesInterface
(only if you used that interface)
- Minor cleanup of the codebase
- Return 401 instead of 403 on authentication failure
- Port to PHPUnit 10
- user-roles-cache: properly escape the cache key to avoid Symfony erroring out on special keys
- Support symfony/cache-contracts v3
- Add support for Symfony 6
- dev: replace abandoned composer-git-hooks with captainhook.
Run
vendor/bin/captainhook install -f
to replace the old hooks with the new ones on an existing checkout.
- Port from web-token/jwt-core 2.0 to web-token/jwt-library 3.3
- Drop support for PHP 7.4/8.0
- Drop support for PHP 7.3
- Add some more unit tests
- Removal of some deprecated API usages
- Add support for kevinrob/guzzle-cache-middleware v5
- Add caching for roles fetched via UserRolesInterface
- Use the global "cache.app" adapter for caching instead of always using the filesystem adapter
- Move to GitHub
- Fix tests with newer core bundle versions
- Added new
frontend_client_id
config entry as a replacement forfrontend_keycloak_client_id
- Deprecated config entries:
frontend_keycloak_server
,frontend_keycloak_realm
,frontend_keycloak_client_id
- Add a health check for remote token validation via the introspection endpoint
- Add a health check for fetching the OIDC config provided by the OIDC server (Keycloak for example)
- Add a health check which checks if the server time is in sync with the OIDC server time
- Stop using the abandoned web-token/jwt-easy and use to the underlying libraries directly instead, as recommended