commits
Now that we can actually regenerate them easily!
Now, everything gets built with a single `go generate`!
A decently-sized token payload can become too large and overflow the
maximum cookie length. This caused our signins to fail silently with
newer Pocket ID versions, trapping us on the login screen.
This has been fixed by using BadgerDB as an in-memory token cache, and
changing the session token to being an encrypted version of the user's
Subject claim.
A decently-sized token payload can become too large and overflow the
maximum cookie length. This caused our signins to fail silently with
newer Pocket ID versions, trapping us on the login screen.
This has been fixed by using BadgerDB as an in-memory token cache, and
changing the session token to being an encrypted version of the user's
Subject claim.