Skip to content

feat(auth): add register, login, logout and session authentication - #20

Merged
pitercoding merged 2 commits into
mainfrom
feat/auth-service
Nov 23, 2026
Merged

pitercoding merged 2 commits into
mainfrom
feat/auth-service

Conversation

@pitercoding

Copy link
Copy Markdown
Owner

Adds the authentication service (no HTTP yet):

  • register: tenant, user and owner membership in one transaction,
    with validation and a unique-constraint based duplicate check
  • login: same error and same CPU cost for unknown e-mail and wrong password
  • authenticate and logout, with an injectable clock for expiry tests

Covered by integration tests against a real Postgres.

@pitercoding
pitercoding merged commit 72b1eb2 into main Nov 23, 2026
4 checks passed
@pitercoding
pitercoding deleted the feat/auth-service branch November 23, 2026 09:30
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.

1 participant