We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4205e4b commit 6f6e25dCopy full SHA for 6f6e25d
misc.go
@@ -84,6 +84,7 @@ func (r *oauthProxy) accessForbidden(w http.ResponseWriter, req *http.Request) c
84
85
// redirectToURL redirects the user and aborts the context
86
func (r *oauthProxy) redirectToURL(url string, w http.ResponseWriter, req *http.Request, statusCode int) context.Context {
87
+ w.Header().Add("Cache-Control", "no-cache, no-store, must-revalidate, max-age=0")
88
http.Redirect(w, req, url, statusCode)
89
90
return r.revokeProxy(w, req)
0 commit comments