Repository navigation
feat(backend): implement session - #119
Merged
Merged
Conversation
commit 0b6419d Author: Davis <[email protected]> Date: Tue Oct 27 18:02:51 2026 +0100 feat(api): issue access token on login commit 388d24e Author: Davis <[email protected]> Date: Tue Oct 27 15:31:01 2026 +0100 fix(access_token): use parsed issuer commit d60ac9b Author: Davis <[email protected]> Date: Tue Oct 27 13:52:45 2026 +0100 feat(api): issue access token on register commit e2b371d Author: Davis <[email protected]> Date: Tue Oct 27 12:33:47 2026 +0100 feat(api): add access token structure commit 29a1d4d Author: Davis Wolfermann <[email protected]> Date: Sun Oct 25 16:52:32 2026 +0100 fix(tests): make tests pass and add new tests commit 4f6a9c9 Author: Davis Wolfermann <[email protected]> Date: Sun Oct 25 16:42:06 2026 +0100 feat(api): wire-up session commit a6fd4f7 Author: Davis Wolfermann <[email protected]> Date: Sun Oct 25 16:16:30 2026 +0100 feat(service): add session service commit 15c4e03 Author: Davis Wolfermann <[email protected]> Date: Sun Oct 25 16:00:00 2026 +0100 feat(db): add session insert fn
One unauthenticated client could fill the DPoP replay store with proofs signed by keys of its own, and every DPoP request then got 429. Verification is now split: `check` runs every stateless check, and the jti is recorded only where a replay could repeat an action. `Authenticated` records it after the access token verifies and the session is live. The token-issuing endpoints (`*/finish`, `/auth/token`) take `SingleUseDpopProof` and record nothing, because their own single-use state (login state, registration reservation, refresh rotation) already turns a replay away, and what they issue is bound to a key the replayer does not hold. Replay tests pin both paths. Co-Authored-By: Claude Opus 5.5 <[email protected]>
OffRange
enabled auto-merge (squash)
October 29, 2026 19:17
OffRange
disabled auto-merge
October 29, 2026 19:50
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.
No description provided.