8000 Issue 38664 contextual mac algorithm by jimmychakkalakal · Pull Request #54482 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

Issue 38664 contextual mac algorithm - #54482

Open
jimmychakkalakal wants to merge 3 commits into
keycloak:mainfrom
jimmychakkalakal:issue-38664-contextual-mac-algorithm
Open

jimmychakkalakal wants to merge 3 commits into
keycloak:mainfrom
jimmychakkalakal:issue-38664-contextual-mac-algorithm

Conversation

@jimmychakkalakal
@jimmychakkalakal jimmychakkalakal commented Oct 30, 2026 •
Copy link
Copy Markdown
Contributor

Summary

• Clarifies algorithm labels in the client’s advanced OpenID Connect settings.
• Shows “MAC algorithm” for symmetric choices, “signature algorithm” for asymmetric choices, and a neutral label
when no algorithm is selected.
• Updates the tooltips to explain which key is used for each algorithm type.

This addresses the terminology concern raised in PR #48988 (#48988) for client settings that offer both algorithm types.

Closes #38664.

Co-authored by Palash Thakur (@palasht75) (https://github.com/palasht75).

@jimmychakkalakal
jimmychakkalakal force-pushed the issue-38664-contextual-mac-algorithm branch from 96e854d to 091508b Compare October 30, 2026 12:45
@jimmychakkalakal
jimmychakkalakal force-pushed the issue-38664-contextual-mac-algorithm branch from 091508b to 037b06e Compare November 6, 2026 14:53
palasht75 and others added 2 commits November 6, 2026 14:56
Closes keycloak#38664

Signed-off-by: Palash Thakur <117917450+palasht75@users.noreply.github.com>

# Conflicts:
#	js/apps/admin-ui/test/clients/details.spec.ts
Signed-off-by: Jimmy Chakkalakal <jimmy.chakkalakal@ibm.com>
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.

🟡 Changes recommended

Switching from private_key_jwt to client_secret_jwt can retain and submit an incompatible RS256 value despite a blank selection, while the shared tooltip misstates the default and contextual label tests remain incomplete.

3 open issues
What changed in this PR

Updates Admin Console terminology to distinguish symmetric MAC algorithms from asymmetric signature algorithms, extending the clarification from #48988 to contextual client settings and related documentation.

Changes:

  • Adds selection-dependent labels and tooltips to advanced OpenID Connect settings.
  • Uses MAC terminology for client-secret JWT authentication and filters identity-provider options to symmetric algorithms.
  • Updates administrator documentation and adds Credentials-tab regression tests.
File Description
js/​apps/​admin-ui/​test/​clients/​details.ts Adds helpers for algorithm labels and options.
js/​apps/​admin-ui/​test/​clients/​details.spec.ts Tests MAC versus signature terminology in Credentials.
js/​apps/​admin-ui/​src/​identity-providers/​add/​OIDCAuthentication.tsx Adjusts assertion labels and options by authentication method.
js/​apps/​admin-ui/​src/​clients/​credentials/​SignedJWT.tsx Uses MAC labels for client-secret JWT authentication.
js/​apps/​admin-ui/​src/​clients/​advanced/​FineGrainOpenIdConnect.tsx Makes algorithm labels and tooltips selection-dependent.
js/​apps/​admin-ui/​maven-resources/​theme/​keycloak.v2/​admin/​messages/​messages_en.properties Adds contextual labels and key-usage explanations.
docs/​documentation/​server_admin/​topics/​identity-broker/​oidc.adoc Clarifies OIDC client assertion algorithms and defaults.
docs/​documentation/​server_admin/​topics/​identity-broker/​oauth2.adoc Clarifies OAuth2 client assertion algorithms and defaults.
docs/​documentation/​server_admin/​topics/​clients/​oidc/​con-confidential-client-credentials.adoc Explains shared-secret JWT authentication using MAC terminology.

Review effort: Balanced

Co-authored-by: Palash Thakur <117917450+palasht75@users.noreply.github.com>
Signed-off-by: Jimmy Chakkalakal <jimmy.chakkalakal@ibm.com>
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.

🟢 Approval recommended

No active review issues block the contextual algorithm-label and broker algorithm-selection updates.

No open issues 🎉

3 resolved since last review

Review effort: Balanced

@jimmychakkalakal
jimmychakkalakal marked this pull request as ready for review November 6, 2026 16:32
@jimmychakkalakal
jimmychakkalakal requested review from a team as code owners November 6, 2026 16:32
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.

Console incorrectly refers to MAC algorithms as "Signature algorithm"

3 participants

0