diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -239,8 +239,8 @@ func AuthProxyController(w http.ResponseWriter, r *http.Request) { | |||
239 | 239 | ||
240 | r.Header["X-Forwarded-User"] = []string{claims.Subject} | 240 | r.Header["X-Forwarded-User"] = []string{claims.Subject} |
241 | r.Header["X-OIDC-Token-Age"] = StringListFromInt(claims.Age()) | 241 | r.Header["X-OIDC-Token-Age"] = StringListFromInt(claims.Age()) |
242 | r.Header["X-OIDC-Token-Expires"] = StringListFromInt(int64(claims.Expiry)) | 242 | r.Header["X-OIDC-Token-Expires"] = StringListFromInt(int64(*claims.Expiry)) |
243 | r.Header["X-OIDC-UserInfo-Endpoint"] = "" // TODO: Include this | 243 | r.Header["X-OIDC-UserInfo-Endpoint"] = []string{""} // TODO: Include this |
244 | 244 | ||
245 | ctx.reverseProxy.ServeHTTP(w, r) | 245 | ctx.reverseProxy.ServeHTTP(w, r) |
246 | } | 246 | } |