As a practitioner, I can authenticate on the Koinos backend via Zitadel #9
Labels
No labels
area:agents
area:backend
area:clinical
area:dashboard
area:deploy
area:design
area:design-review
area:devices
area:docs
area:federation
area:identity
area:infra
area:interop
area:meta
area:security
area:sessions
area:web
area:webhook
area:workdir
type:bug
type:chore
type:epic
type:meta
type:user-story
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/koinos#9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
User story
As a practitioner, I want the Koinos backend to accept my Zitadel-issued tokens, so that I can call Koinos APIs with a single SSO session.
Acceptance criteria
Backend
koinos-authmodule validating JWTs from Zitadel (JWKS-based, with caching).AuthedUseryieldingsub,roles,preferred_username,amr,home_instance.GET /api/mereturns the current user profile.401for invalid/expired tokens,403for insufficient roles.Policy foundations
require_role(...)).amrfrom the token (used later for prescriptions).Tests
Out of scope
References
spec/03-architecture/03-identity-auth.md§5–§6.spec/08-roadmap-mvp.md— step #9.