We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a850366 commit e5400bcCopy full SHA for e5400bc
server/oauth/oauth.go
@@ -171,7 +171,7 @@ func InitOAuth() error {
171
microsoftClientSecret = ""
172
}
173
microsoftActiveDirTenantID, err := memorystore.Provider.GetStringStoreEnvVariable(constants.EnvKeyMicrosoftActiveDirectoryTenantID)
174
- if err != nil {
+ if err != nil || microsoftActiveDirTenantID == "" {
175
microsoftActiveDirTenantID = "common"
176
177
if microsoftClientID != "" && microsoftClientSecret != "" && microsoftActiveDirTenantID != "" {
0 commit comments