Skip to content

[BUG] Users Without Email Are Not Redirected to Linked IdPs #652

Description

@HadleySo

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

The extension doesn't redirect users when they exist in Keycloak but don't have email address set.

If the email attribute is null, DomainExtractor.extractFrom(UserModel user) returns empty and the discovery fails. DomainExtractor.java:18-24

Expected Behavior

Users without email address should be redirected to linked IdPs.

Steps To Reproduce

  1. Disable require email. Realm settings > User profile > email > Required field
  2. Configure extension as part of browser flow
  3. Log in as user without an email set

Version

- Keycloak: 26.6.3
- This extension: 26.2.1

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions