Skip to content

feat: adds token expiry to session data#17

Merged
xanthipe merged 2 commits intomainfrom
feat/add-exp-to-auth-cookie
Apr 18, 2025
Merged

feat: adds token expiry to session data#17
xanthipe merged 2 commits intomainfrom
feat/add-exp-to-auth-cookie

Conversation

@xanthipe
Copy link
Contributor

Adds the expiry datetime of the access token to the outbound session call so token rotation on the frontend can be more easily managed.

Copy link
Member

@dantarian dantarian left a comment

Choose a reason for hiding this comment

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

One small tweak for the existing code.

Also, could you please update the schemas for CreateSessionResponse and UpdateSessionResponse to include the new field?

@xanthipe xanthipe merged commit 42e0cb7 into main Apr 18, 2025
2 checks passed
@xanthipe xanthipe deleted the feat/add-exp-to-auth-cookie branch April 18, 2025 11:10
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