Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Security] Validate aud and iss claims on OidcTokenHandler #50432

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

vincentchalamon
Copy link
Contributor

Q A
Branch? 6.3
Bug fix? yes
New feature? no
Deprecations? no
Tickets N/A
License MIT
Doc PR N/A

According to the OIDC Specification, the aud and iss claims MUST be validated by the server.

@carsonbot carsonbot added this to the 6.3 milestone May 25, 2023
@vincentchalamon vincentchalamon changed the title [Security] Validate token following OIDC specification [Security] Validate aud and iss claims on OidcTokenHandler May 25, 2023
aegypius added a commit to aegypius/symfony that referenced this pull request May 26, 2023
aegypius added a commit to aegypius/symfony that referenced this pull request May 26, 2023
fabpot added a commit that referenced this pull request May 26, 2023
…g access-token definition (aegypius)

This PR was squashed before being merged into the 6.2 branch.

Discussion
----------

[SecurityBundle] Update security-1.0.xsd to include missing access-token definition

| Q             | A
| ------------- | ---
| Branch?       |6.2
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       |
| License       | MIT
| Doc PR        |

Add missing access-token definition in the security XSD schema definition as mentioned in review #50432 (review)

Commits
-------

abc5e15 [SecurityBundle] Update security-1.0.xsd to include missing access-token definition
aegypius added a commit to aegypius/symfony that referenced this pull request May 27, 2023
aegypius added a commit to aegypius/symfony that referenced this pull request May 27, 2023
aegypius added a commit to aegypius/symfony that referenced this pull request May 30, 2023
nicolas-grekas added a commit that referenced this pull request May 30, 2023
…pius)

This PR was squashed before being merged into the 6.3 branch.

Discussion
----------

[SecurityBundle] add missing xsd definition for OIDC

| Q             | A
| ------------- | ---
| Branch?       | 6.3
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | n/a
| License       | MIT
| Doc PR        | n/a

Follow-up of #50432

I hope I didn't broke anything this PR is far out of my comfort zone !

Commits
-------

bff0601 [SecurityBundle] add missing xsd definition for OIDC
symfony-splitter pushed a commit to symfony/security-bundle that referenced this pull request May 30, 2023
…pius)

This PR was squashed before being merged into the 6.3 branch.

Discussion
----------

[SecurityBundle] add missing xsd definition for OIDC

| Q             | A
| ------------- | ---
| Branch?       | 6.3
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | n/a
| License       | MIT
| Doc PR        | n/a

Follow-up of symfony/symfony#50432

I hope I didn't broke anything this PR is far out of my comfort zone !

Commits
-------

bff06016b6 [SecurityBundle] add missing xsd definition for OIDC
@nicolas-grekas
Copy link
Member

Rebase unlocked :)

@vincentchalamon vincentchalamon force-pushed the fix/oidc-token-handler-token-validation branch from 469a165 to dcee5a2 Compare May 30, 2023 17:36
@vincentchalamon vincentchalamon force-pushed the fix/oidc-token-handler-token-validation branch from 865cf11 to 9379df7 Compare May 30, 2023 18:31
@nicolas-grekas
Copy link
Member

Thank you @vincentchalamon.

@nicolas-grekas nicolas-grekas force-pushed the fix/oidc-token-handler-token-validation branch from 9379df7 to 90011f5 Compare May 30, 2023 19:01
@nicolas-grekas nicolas-grekas merged commit 744c378 into symfony:6.3 May 30, 2023
@fabpot fabpot mentioned this pull request May 30, 2023
@vincentchalamon vincentchalamon deleted the fix/oidc-token-handler-token-validation branch May 30, 2023 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.