refactor: use crypto approach to store authorize status

This commit is contained in:
Stavros
2026-08-13 17:30:06 +03:00
parent 0f6bfcaf6b
commit 1d17917fca
3 changed files with 133 additions and 43 deletions
+2
View File
@@ -24,3 +24,5 @@ const OAuthSessionCookieName = "tinyauth-oauth"
const OIDCScopeCookieName = "tinyauth-scope"
const GracefulShutdownTimeout = 5 // seconds
const HKDFSalt = "tinyauth-hkdf-salt-v1"