Skip to content

AuthZEN lookup subject.type=user based upon username not UUID #48287

Description

@ryanemerson

Description

#47632 implemented user lookups, so that a subject.id is expected to be the UUID used by Keycloak to internally identify a user. This is problematic for several reasons:

  • It does not work with AuthZen interop and compatibility scenarios, as the id is represented as a Base64 string not a UUID
  • It will not work with pairwise subject identifiers, or other scenarios where the returned sub claim is modified, as the Keycloak UUID will not be present

Instead we should make it so that the following request results in users being looked up via their username:

"subject": {
    "type": "user",
    "id": "CiRmZDA2MTRkMy1jMzlhLTQ3ODEtYjdiZC04Yjk2ZjVhNTEwMGQSBWxvY2Fs"
}

Activity

  1. added this to the Future milestone on Apr 20, 2026
  2. self-assigned this
    on Apr 20, 2026
  3. changed the title [-]Lookup subject.type=user based upon username not UUID[/-] [+]AuthZEN lookup subject.type=user based upon username not UUID[/+] on Apr 21, 2026
  4. added a commit that references this issue on Apr 29, 2026
    2e7a63b
  5. added a commit that references this issue on Jul 20, 2026
    1daaae3
  6. removed this from the Future milestone on Oct 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Fields

No fields configured for task.

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions