Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

[Security][Http] Fix OIDC discovery when multiple HttpClient instances are used#62495

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

Open
Ali-HENDA wants to merge1 commit intosymfony:7.4
base:7.4
Choose a base branch
Loading
fromAli-HENDA:fix/oidc-jwks-streaming

Conversation

@Ali-HENDA
Copy link
Contributor

QA
Branch?7.4
Bug fix?yes
New feature?no
Deprecations?no
IssuesFix
LicenseMIT

This PR fixes an issue in the OIDC JWKS discovery logic revealed in the discussion of#62369.
$client->stream() was used incorrectly:
$client could be undefined, and responses must be streamed using the same client instance that created them, which breaks when multiple HttpClientInterface instances are configured.
The logic now performs sequential discovery per client, avoiding cross-client streaming and ensuring correctness.

This PR also hardens the "use" check ($key['use'] ?? null).

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@stofstofstof left review comments

@chalasrchalasrAwaiting requested review from chalasrchalasr is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

7.4

Development

Successfully merging this pull request may close these issues.

3 participants

@Ali-HENDA@stof@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp