Skip to content

Commit

Permalink
APP-1086 - Remove unneeded check for non-web auth handler (viamroboti…
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamMagaluk authored and randhid committed Feb 25, 2023
1 parent cf71ad5 commit a4acee8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions robot/web/web.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,7 @@ func hasManagedAuthHandlers(handlers []config.AuthHandlerConfig) bool {
}
}

// TODO(APP-1086): During rollout of weboauth feature we need to support the app returning only the 1 location secret.
if len(handlers) == 1 && hasLocationSecretHandler {
return true
} else if len(handlers) == 2 && hasLocationSecretHandler && hasWebOAuthHandler {
if len(handlers) == 2 && hasLocationSecretHandler && hasWebOAuthHandler {
return true
}

Expand Down

0 comments on commit a4acee8

Please sign in to comment.