summaryrefslogtreecommitdiff
path: root/app/controllers/sessions/service.go
AgeCommit message (Collapse)Author
2025-05-15refactor: delete code that is now handled by envoymo khan
2025-05-11refactor: inline unncessary methodmo khan
2025-05-11feat: add endpoint to reflect JWT bodymo khan
2025-05-11test: test envoy and sparkle via testcontainersmo khan
2025-05-08feat: use a cookie prefix to lock down the session cookiemo khan
> __Host-: If a cookie name has this prefix, it's accepted in a > Set-Cookie header only if it's also marked with the Secure attribute, > was sent from a secure origin, does not include a Domain attribute, > and has the Path attribute set to /. In other words, the cookie is > domain-locked. https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/Cookies#cookie_prefixes
2025-05-07feat: digitally sign and verify cookie using randomly generated keymo khan
2025-04-30fix: revert change to error messagemo khan
2025-04-30fix: the CSRF cookie needs to have a same site lax modemo khan
2025-04-28feat: validate the csrf tokenmo khan
2025-04-28feat: redirect to login page when session is establishedmo khan
2025-04-28refactor: move token exchange into service classmo khan
2025-04-28refactor: extract a session service classmo khan