Repository navigation
Require OIDC identity binding before issuing tenant credentials - #61
Merged
sciabarracom merged 1 commit intoOct 20, 2026
Merged
Conversation
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.
OIDC namespace mapping currently selects tenant credentials without verifying that the validated external identity owns the selected
WhiskUser. Require exact, nonemptyissandsubvalues to match its SSO annotations before returning credentials.The same check covers direct-token, password-grant, and device login, including existing resources encountered during auto-provisioning or a create conflict. Recheck the binding before releasing credentials and reject orphan metadata or an existing
WhiskUserreplaced during login.Existing namespaces without SSO ownership annotations now return
403for OIDC login.docs/OIDC.mdexplains how a cluster administrator can verify the owner and explicitly bind the namespace. Legacy OPS password authentication and the existing metadata credential format are preserved.Validation:
0.9.0source, including identity-binding regressions and the existing authentication and builder tests.openserverless/common/*.pydoctests passed;git diff --checkpassed.Based on
apache/openserverless-admin-api:0.9.0at2ecb071. This PR contains only the SSO fix, its tests, and related documentation; no workflow or component-version changes.