Skip to content

Conversation

@mohityadav766
Copy link
Member

@mohityadav766 mohityadav766 commented Dec 22, 2025

Describe your changes:

Fixes

I worked on ... because ...

Type of change:

  • Bug fix
  • Improvement
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation

Checklist:

  • I have read the CONTRIBUTING document.
  • My PR title is Fixes <issue-number>: <short explanation>
  • I have commented on my code, particularly in hard-to-understand areas.
  • For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

Summary by Gitar

  • OIDC compliance enhancement:
    • Added USERNAME and PREFERRED_USERNAME constants in JWTTokenGenerator.java for standard OIDC claim names
    • Embedded username and preferred_username claims in generated JWT tokens using the userName parameter for compatibility with OIDC/OAuth2 identity providers

This will update automatically on new commits.


@mohityadav766 mohityadav766 self-assigned this Dec 22, 2025
@mohityadav766 mohityadav766 added the To release Will cherry-pick this PR into the release branch label Dec 22, 2025
@mohityadav766 mohityadav766 changed the title Add Username and preferred_username Add Username and preferred_username to JwtTokenGenerator Dec 22, 2025
@mohityadav766 mohityadav766 marked this pull request as ready for review December 22, 2025 09:40
@mohityadav766 mohityadav766 requested a review from a team as a code owner December 22, 2025 09:40
@github-actions github-actions bot added backend safe to test Add this label to run secure Github workflows on PRs labels Dec 22, 2025
@mohityadav766 mohityadav766 merged commit 3e1f6d0 into main Dec 22, 2025
39 of 42 checks passed
@mohityadav766 mohityadav766 deleted the fix-claim-issue branch December 22, 2025 09:42
mohityadav766 added a commit that referenced this pull request Dec 22, 2025
@github-actions
Copy link
Contributor

Failed to cherry-pick changes to the 1.11.4 branch.
Please cherry-pick the changes manually.
You can find more details here.

@pmbrull
Copy link
Collaborator

pmbrull commented Dec 22, 2025

picked manually

@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend safe to test Add this label to run secure Github workflows on PRs To release Will cherry-pick this PR into the release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants