Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.6k
[Security][SecurityBundle] Add encryption support to OIDC tokens#57721
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Ping@vincentchalamon |
90932a8
toeee5392
Comparesrc/Symfony/Bundle/SecurityBundle/Tests/Functional/app/AccessToken/config_oidc.yml OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
...y/Bundle/SecurityBundle/DependencyInjection/Security/AccessToken/OidcTokenHandlerFactory.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
...y/Bundle/SecurityBundle/DependencyInjection/Security/AccessToken/OidcTokenHandlerFactory.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Bundle/SecurityBundle/Resources/config/security_authenticator_access_token.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Bundle/SecurityBundle/Tests/Functional/AccessTokenTest.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Is there no XSD to update?
src/Symfony/Bundle/SecurityBundle/Resources/config/security_authenticator_access_token.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
7e47bfc
to870844d
Compare
@nicolas-grekas I'm not sure what to change. |
870844d
toc4eb497
Comparec4eb497
tocd1c431
Compare@Spomky The new options need to be added to SecurityBundle/Resources/config/schema/security-1.0.xsd |
cd1c431
to6545e1d
Compare6545e1d
to9fab3e4
Compareeed73ba
toa4ee3ab
CompareHi, I am not sure how to fix the failing tests. |
7697f15
to6312567
CompareYou may need to bump the security-http dependency to ^7.3 in security-bundle |
c69f934
to9434658
Compare41e0030
to78f9a88
CompareIn addition to the excellent work of@vincentchalamonsymfony#48272, this PR allows getting the data from the OAuth2 Introspection Endpoint. This endpoint is defined in the [RFC7662](https://datatracker.ietf.org/doc/html/rfc7662). It returns the following information that is used to retrieve the user:* If the access token is active* A set of claims that are similar to the OIDC one, including the `sub` or the `username`.
Many thaks. |
Thank you@Spomky. |
0051b15
intosymfony:7.3Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
The changes add encryption support to OpenID Connect (OIDC) tokens in the Symfony Security Bundle. This is useful in making the application more secure. They also ensure the tokens are correctly decrypted and validated before use. Additionally, tests have been expanded to cover these new scenarios.