Skip to content

feat: Return token claims on OIDC validation#4641

Open
pavel-jares-bcm wants to merge 4 commits into
v3.x.xfrom
reboot/oidc-validation-with-claims
Open

feat: Return token claims on OIDC validation#4641
pavel-jares-bcm wants to merge 4 commits into
v3.x.xfrom
reboot/oidc-validation-with-claims

Conversation

@pavel-jares-bcm
Copy link
Copy Markdown
Contributor

@pavel-jares-bcm pavel-jares-bcm commented May 25, 2026

Description

In the preivous version OIDC validation return only response code (204, 401, or 500). The user calling this endpoint needs to parse the token to obtain the response. There is a potential risk that because of misconfiguration could call another endpoint and obtain always 200. It could lead to open the OIDC validation. When APIML returns claims the user can use them. It increases confidentality.

Linked to # (issue)
Part of the # (epic)

Type of change

  • feat: New feature (non-breaking change which adds functionality)

Checklist:

  • My code follows the style guidelines of this project
  • PR title conforms to commit message guideline ## Commit Message Structure Guideline
  • I have commented my code, particularly in hard-to-understand areas. In JS I did provide JSDoc
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • The java tests in the area I was working on leverage @nested annotations
  • Any dependent changes have been merged and published in downstream modules

Signed-off-by: Pavel Jareš <Pavel.Jares@broadcom.com>
@EvaJavornicka EvaJavornicka moved this from New to In Progress in API Mediation Layer Backlog Management May 27, 2026
pavel-jares-bcm and others added 2 commits May 27, 2026 16:58
Signed-off-by: Pavel Jareš <Pavel.Jares@broadcom.com>
@sonarqubecloud
Copy link
Copy Markdown

@pavel-jares-bcm pavel-jares-bcm marked this pull request as ready for review May 28, 2026 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

2 participants