docs: how a Ratatoskr voting module authenticates to Bifrost (design) #37
Loading…
Reference in a new issue
No description provided.
Delete branch "heimdall/ratatoskr-voting-auth"
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?
Design only, docs only, off main
276f611. One file:docs/ratatoskr-voting-auth.md. Do not merge: it waits on the open decisions D1-D7 in section 12 (Meta, Eureka).Proposal: a second public OIDC client (PKCE, no secret) for Ratatoskr; scopes
votes.read/votes.cast; 10-minute audience-bound access token, no refresh, memory-only in the browser; a new/api/votessurface that accepts bearer only and refuses cookies; CORS for exactlyhttps://chat.gamecult.orgon/connect/tokenand/api/votes, no credentials; Persona/Mind signed path unchanged; tokens can never grant roles or weights.Every claim is labelled FACT (file:line at
276f611), INFERENCE or EXTERNAL. One finding worth reading first: the cookie-claim actor resolver returns Anonymous for a bearer principal (section 5), and PR #24's "token Bifrost already issues to chat" is the MAS token, not one the browser holds (section 1). Six probes owed before a cut spec are in section 11.🤖 Generated with Claude Code
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.