8000 Type the Keycloak organization token claim by akhi-ninja · Pull Request #382 · keycloak/keycloak-js · GitHub
[go: up one dir, main page]

Skip to content

Type the Keycloak organization token claim - #382

Open
akhi-ninja wants to merge 1 commit into
keycloak:mainfrom
akhi-ninja:feat/organization-claim-types
Open

akhi-ninja wants to merge 1 commit into
keycloak:mainfrom
akhi-ninja:feat/organization-claim-types

Conversation

@akhi-ninja
Copy link
Copy Markdown

Closes #381

Declare the optional organization claim on KeycloakTokenParsed. The type covers the mapper’s alias string, alias array, and alias-to-membership map formats. The change is limited to TypeScript declarations.

A strict TypeScript fixture passed for all three formats and verified that a numeric organization ID is rejected.

AI disclosure: Codex assisted in generating the declaration change and validation fixture.

Closes keycloak#381

Signed-off-by: Akhil Gopinath <5537438+akhi-ninja@users.noreply.github.com>
@akhi-ninja
akhi-ninja requested a review from jonkoops as a code owner November 23, 2026 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add TypeScript types for the organization token claim

1 participant

0