aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorMike Crute <mike@crute.us>2021-11-16 22:18:39 -0800
committerMike Crute <mike@crute.us>2021-11-17 07:56:17 -0800
commit75c1a00a0915f49fa6b5a5d40b72b53e7dbecfd8 (patch)
tree8af509cec66c091115abd9541a173ac762c78529 /app
parente90d734c7c70513a21a7eaf78e424b2a190f2f1c (diff)
downloadcloud-identity-broker-75c1a00a0915f49fa6b5a5d40b72b53e7dbecfd8.tar.bz2
cloud-identity-broker-75c1a00a0915f49fa6b5a5d40b72b53e7dbecfd8.tar.xz
cloud-identity-broker-75c1a00a0915f49fa6b5a5d40b72b53e7dbecfd8.zip
Allow JS access to auth token for display
Diffstat (limited to 'app')
-rw-r--r--app/middleware/auth.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/middleware/auth.go b/app/middleware/auth.go
index 0a20a9e..b8bf7f9 100644
--- a/app/middleware/auth.go
+++ b/app/middleware/auth.go
@@ -217,7 +217,6 @@ func (m *AuthenticationMiddleware) HandleCompleteLogin(c echo.Context) error {
217 Path: "/", 217 Path: "/",
218 MaxAge: int(m.CookieDuration.Seconds()), 218 MaxAge: int(m.CookieDuration.Seconds()),
219 Secure: true, 219 Secure: true,
220 HttpOnly: true,
221 SameSite: http.SameSiteStrictMode, 220 SameSite: http.SameSiteStrictMode,
222 }) 221 })
223 222