Skip to content
Discussion options

You must be logged in to vote

The coupling is an implementation choice, not a Cognito security requirement. The library uses the auth ticket as its only token store, so the ticket dates double as the token dates. There's no built-in long-session mode, but your workaround is the right direction. Answers in your order:

1. Why the lifetimes are coupled

The library has nowhere else to keep the token timestamps:

So to the library, ExpiresUtc is the token expiry, and the cookie handler enforces that same date. One…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by benShootersTech
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants