diff --git a/pkg/apigateway/handler/oidc.go b/pkg/apigateway/handler/oidc.go index 79146b8a52..d00d5c9223 100644 --- a/pkg/apigateway/handler/oidc.go +++ b/pkg/apigateway/handler/oidc.go @@ -100,6 +100,7 @@ func handleOIDCAuth(ctx context.Context, w http.ResponseWriter, req *http.Reques qs.Set("code", jsonutils.NewString(code)) qs.Set("state", jsonutils.NewString(auth.State)) redirUrl := addQuery(auth.RedirectUri, qs) + appsrv.DisableClientCache(w) appsrv.SendRedirect(w, redirUrl) }