feat: select the forwarded exchanged token per TokenExchangePolicy #47
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lab/authz-bridge!47
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/45-exchange-forward-id-token"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
New optional spec.forwardTokenType (access_token default, id_token opt-in): the Exchange Flow forwards the selected token as upstream Authorization.
Kanidm's access_token carries no username/groups claims, so the portable apiserver (preferred_username/groups claims) 401s it despite a successful exchange; the id_token shape authenticates. Local selection only (not requested_token_type); hstern stays protocol authority with a raw-body carve-out for the id_token member; missing selection is 503; cache keys on the selection.
Verified live on portable: SAT via gateway 200 with NodeList, 5/5 stable. Live portable-k8s policy flipped to id_token (persisted in flux-clusters).
Fixes #45
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.