Repository navigation
feat[@ai-codex]: Add validation of required audience for OIDC tokens - #5029
Draft
pavel-jares-bcm wants to merge 3 commits into
Draft
pavel-jares-bcm wants to merge 3 commits into
pavel-jares-bcm wants to merge 3 commits into
Conversation
richard-salac
force-pushed
the
reboot/ZOWESERVER_ZOWE_API-LAYER_V3-X_X-001
branch
4 times, most recently
from
October 20, 2026 12:08
6d1a64d to
eeb715d
Compare
richard-salac
marked this pull request as ready for review
October 20, 2026 12:41
richard-salac
marked this pull request as draft
October 20, 2026 12:41
pavel-jares-bcm
commented
Oct 20, 2026
Signed-off-by: Richard Salac <richard.salac@broadcom.com>
richard-salac
force-pushed
the
reboot/ZOWESERVER_ZOWE_API-LAYER_V3-X_X-001
branch
from
October 20, 2026 15:12
eeb715d to
f1741ff
Compare
|
richard-salac
approved these changes
Oct 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
This PR adds validation of a required audience in OIDC token.
API Mediation Layer supports optional validation of the aud (audience) claim in OIDC tokens. Use this setting to require that tokens identify the intended recipient.
Add aud to your existing OIDC configuration in zowe.yaml (available for components apiml, gateway and zaas):
Replace
api://zowewith the audience your identity provider includes in tokens intended for API Mediation Layer.When configured:
For this example, both "aud": "api://zowe" and "aud": ["other-api", "api://zowe"] satisfy the audience requirement.
Audience validation is disabled by default. Omit aud or set it to "" to leave it disabled. Other token-validation requirements still apply.
Linked to # (issue)
Part of the # (epic)
ZOWESERVER_ZOWE_API-LAYER_V3-X_X-001
Type of change
Please delete options that are not relevant.
Checklist:
For more details about how should the code look like read the Contributing guideline