8000 Regression with Trust Email when the userinfo endpoint is used by martin-kanis · Pull Request #53580 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

Regression with Trust Email when the userinfo endpoint is used - #53580

Merged
pedroigor merged 1 commit into
keycloak:mainfrom
martin-kanis:53471
Oct 6, 2026
Merged

pedroigor merged 1 commit into
keycloak:mainfrom
martin-kanis:53471

Conversation

@martin-kanis
Copy link
Copy Markdown
Member

Closes #53471

Closes keycloak#53471

Signed-off-by: Martin Kanis <mkanis@ibm.com>
@martin-kanis
martin-kanis requested a review from a team as a code owner October 6, 2026 08:32
Copilot AI balanced review requested due to automatic review settings October 6, 2026 08:32
Copilot AI left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The focused implementation, regression test, and documentation consistently address the reported behavior.

Review effort: Balanced
Findings: None

What changed in this PR

Fixes OIDC brokering so a missing UserInfo email_verified claim falls back to the Trust Email setting.

Changes:

  • Preserves null for an absent email_verified claim.
  • Adds regression coverage for UserInfo-based email import.
  • Clarifies Trust Email documentation.
File Description
services/​.../​OIDCIdentityProvider.java Corrects missing-claim handling.
tests/​.../​KcOidcBrokerTest.java Adds regression test coverage.
docs/​.../​configuration.adoc Documents ID token and UserInfo behavior.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@pedroigor
pedroigor merged commit 34bcada into keycloak:main Oct 6, 2026
97 checks passed
msdaly200 added a commit to msdaly200/keycloak that referenced this pull request Nov 12, 2026
…eycloak#54245

Also includes the Trust Email docs change and UserInfo email_verified
parsing fix from keycloak#53580.  Closes keycloak#53471

Signed-off-by: Marie Daly <marie.daly1@ibm.com>
(cherry picked from commit 585294c)
(cherry picked from commit 34bcada)
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.

Regression with Trust Email when the userinfo endpoint is used

3 participants

0