Skip to content

docs: add oidc-bound sessions adr - #4884

Draft
shepilov wants to merge 1 commit into
masterfrom
chore/oidc-bound-sessions-adr
Draft

docs: add oidc-bound sessions adr#4884
shepilov wants to merge 1 commit into
masterfrom
chore/oidc-bound-sessions-adr

Conversation

@shepilov

Copy link
Copy Markdown
Member

Summary

  • Add a draft ADR for OIDC-bound Cozy sessions and access tokens.
  • Document session binding, OIDC access-token authentication, permission mapping, and cache considerations.

@shepilov
shepilov marked this pull request as ready for review July 28, 2026 10:22
@shepilov
shepilov marked this pull request as draft July 28, 2026 10:37
- if we enforce logout for bearer tokens with `sid`, add a revoked-`sid` marker
or an index from `sid` to cached token keys, so logout cannot leave cached
bearer permissions alive;
- refresh JWKS once when a token has an unknown `kid`, because providers rotate

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sid

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mmm, what do you mean?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it really kid? Just checking if there is a typo ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants