Skip to content

refactor(auth): unify token expiration and session creation#62

Merged
soorq merged 1 commit intodevfrom
fix/auth-flow
May 7, 2026
Merged

refactor(auth): unify token expiration and session creation#62
soorq merged 1 commit intodevfrom
fix/auth-flow

Conversation

@soorq
Copy link
Copy Markdown
Collaborator

@soorq soorq commented May 7, 2026

  • Fix: incorrect expiresAt in cookies/session (now synced with JWT)
  • Refactor: eliminate redundant DB update during sign-in
  • Security: use CUID/UUID for sessionId to prevent collisions
  • Sync: tokenService now provides exact expiration from JWT payload

* Fix: incorrect expiresAt in cookies/session (now synced with JWT)

* Refactor: eliminate redundant DB update during sign-in

* Security: use CUID/UUID for sessionId to prevent collisions

* Sync: tokenService now provides exact expiration from JWT payload
@soorq soorq merged commit 6d19373 into dev May 7, 2026
1 check passed
@soorq soorq deleted the fix/auth-flow branch May 7, 2026 19:12
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