diff --git a/idp/dex/provider.go b/idp/dex/provider.go index 2be302589..40d1c9ece 100644 --- a/idp/dex/provider.go +++ b/idp/dex/provider.go @@ -500,10 +500,10 @@ func (p *Provider) Handler() http.Handler { // NOTE: by default Dex will use the /logout route to only logout sessions, doesn't invalidate jwt tokens, // to avoid confusion on users, we're not allowing for this, and only enable OIDC logout triggered through // the dashboard which will invalidate both the session and the jwt token - if strings.HasSuffix(r.URL.Path, "/logout") && r.FormValue("id_token_hint") == "" { - http.Redirect(w, r, "/", http.StatusSeeOther) - return - } + //if strings.HasSuffix(r.URL.Path, "/logout") && r.FormValue("id_token_hint") == "" { + //http.Redirect(w, r, "/", http.StatusSeeOther) + //return + //} p.dexServer.ServeHTTP(w, r) }) diff --git a/management/server/idp/embedded.go b/management/server/idp/embedded.go index 57f89b749..8ec0058ce 100644 --- a/management/server/idp/embedded.go +++ b/management/server/idp/embedded.go @@ -216,7 +216,7 @@ func configureMFA(cfg *dex.YAMLConfig) error { // Has to be caps otherwise it will fail Type: "TOTP", Config: rawTotpConfig, - ConnectorTypes: []string{}, + ConnectorTypes: []string{"local"}, }} rememberMeEnabled := false