Skip to content

Commit

Permalink
Revert "chore: Run dex reverse proxy only when dex is configured (arg…
Browse files Browse the repository at this point in the history
…oproj#7999)" (argoproj#8291)

This reverts commit 303cc46.

Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
Signed-off-by: pashavictorovich <pavel@codefresh.io>
  • Loading branch information
Alexander Matyushentsev authored and pasha-codefresh committed Feb 2, 2022
1 parent 5f8fb65 commit b1490e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ func (a *ArgoCDServer) newHTTPServer(ctx context.Context, port int, grpcWebHandl

// registerDexHandlers will register dex HTTP handlers, creating the the OAuth client app
func (a *ArgoCDServer) registerDexHandlers(mux *http.ServeMux) {
if !a.settings.IsDexConfigured() {
if !a.settings.IsSSOConfigured() {
return
}
// Run dex OpenID Connect Identity Provider behind a reverse proxy (served at /api/dex)
Expand Down

0 comments on commit b1490e5

Please sign in to comment.