You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logger.Error(err, "PKCE verifier not found for session; cannot exchange code", "sessionID", authCode.SessionID)
200
200
msg:="PKCE verifier not found. If you run multiple backend instances, use a shared session store (e.g. Redis) so the instance handling the callback can read the verifier stored at authorize time."
logger.V(2).Info("Session expired or invalid", "sessionID", state.SessionID)
187
187
writeErrorResponse(w, http.StatusUnauthorized, kubebindv1alpha2.ErrorCodeAuthenticationFailed, "Authentication required", "Session has expired or is invalid")
fs.StringVar(&options.Address, "redis-addr", options.Address, "The redis address (e.g. localhost:6379) to connect to if storing sessions in Redis. If empty, the in-memory provider is used.")
36
+
fs.StringVar(&options.Password, "redis-password", options.Password, "The connection password to use if storing sessions in Redis.")
37
+
}
38
+
func (options*Options) Validate() error {
39
+
ifoptions.Password!=""&&options.Address=="" {
40
+
returnfmt.Errorf("redis-addr must be specified when using redis-password")
0 commit comments