chore(oauth2): fix !develop syntax contd
This commit is contained in:
parent
274c86a820
commit
b1cb45ac7e
@ -363,11 +363,11 @@ makeFoundation appSettings''@AppSettings{..} = do
|
||||
return . uncurry p $ fromJust mArgs
|
||||
tenantID = case appUserAuthConf of
|
||||
UserAuthConfSingleSource (AuthSourceConfAzureAdV2 AzureConf{..})
|
||||
-> Text.pack azureConfTenantId
|
||||
-> tshow azureConfTenantId
|
||||
_other
|
||||
-> error "Tenant ID missing!"
|
||||
oauth2Plugins
|
||||
| UserAuthConfSingleSource (AuthSourceConfAzureAdV2 AzureConf{..}) appUserAuthConf
|
||||
| UserAuthConfSingleSource (AuthSourceConfAzureAdV2 AzureConf{..}) <- appUserAuthConf
|
||||
= singleton $ oauth2AzureADScoped (Set.toList azureConfScopes) azureConfClientId azureConfClientSecret
|
||||
| otherwise
|
||||
= mempty
|
||||
|
||||
Loading…
Reference in New Issue
Block a user