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
|
return . uncurry p $ fromJust mArgs
|
||||||
tenantID = case appUserAuthConf of
|
tenantID = case appUserAuthConf of
|
||||||
UserAuthConfSingleSource (AuthSourceConfAzureAdV2 AzureConf{..})
|
UserAuthConfSingleSource (AuthSourceConfAzureAdV2 AzureConf{..})
|
||||||
-> Text.pack azureConfTenantId
|
-> tshow azureConfTenantId
|
||||||
_other
|
_other
|
||||||
-> error "Tenant ID missing!"
|
-> error "Tenant ID missing!"
|
||||||
oauth2Plugins
|
oauth2Plugins
|
||||||
| UserAuthConfSingleSource (AuthSourceConfAzureAdV2 AzureConf{..}) appUserAuthConf
|
| UserAuthConfSingleSource (AuthSourceConfAzureAdV2 AzureConf{..}) <- appUserAuthConf
|
||||||
= singleton $ oauth2AzureADScoped (Set.toList azureConfScopes) azureConfClientId azureConfClientSecret
|
= singleton $ oauth2AzureADScoped (Set.toList azureConfScopes) azureConfClientId azureConfClientSecret
|
||||||
| otherwise
|
| otherwise
|
||||||
= mempty
|
= mempty
|
||||||
|
|||||||
Reference in New Issue
Block a user