Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[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
Spomky commentedJul 13, 2024
Ping@vincentchalamon |
90932a8 toeee5392Comparesrc/Symfony/Bundle/SecurityBundle/Tests/Functional/app/AccessToken/config_oidc.ymlShow 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.
nicolas-grekas left a comment
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 to870844dCompareSpomky commentedSep 1, 2024
@nicolas-grekas I'm not sure what to change. |
870844d toc4eb497Comparec4eb497 tocd1c431Comparechalasr commentedDec 26, 2024
@Spomky The new options need to be added to SecurityBundle/Resources/config/schema/security-1.0.xsd |
cd1c431 to6545e1dCompareSpomky commentedDec 26, 2024
6545e1d to9fab3e4Compareeed73ba toa4ee3abCompareSpomky commentedJan 5, 2025
Hi, I am not sure how to fix the failing tests. |
7697f15 to6312567Comparechalasr commentedJan 5, 2025
You may need to bump the security-http dependency to ^7.3 in security-bundle |
c69f934 to9434658Compare41e0030 to78f9a88CompareIn 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`.
Spomky commentedJan 5, 2025
Many thaks. |
fabpot commentedJan 17, 2025
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.