mirror of
https://github.com/efim/go-ssr-pocketbase-oauth-attempt.git
synced 2025-12-15 04:43:39 +00:00
feat: securing the cookies
This commit is contained in:
@@ -212,7 +212,7 @@ https://github.com/efim/dotfiles/commit/b3695148082d8c9850a781aaa7a88920bdb1fa7f
|
||||
|
||||
this is all that's needed to enable tls
|
||||
mind blown
|
||||
** TODO somehow set cookie to httpOnly & secure
|
||||
** DONE somehow set cookie to httpOnly & secure
|
||||
with ability to disable for development session
|
||||
|
||||
** TODO maybe add middleware so that 401 would be a page, and not json
|
||||
|
||||
Reference in New Issue
Block a user