chore(oauth2): fix syntax

This commit is contained in:
Sarah Vaupel 2024-03-19 22:45:04 +01:00
parent cea64da34d
commit 1dd83af6aa

View File

@ -366,9 +366,9 @@ makeFoundation appSettings''@AppSettings{..} = do
-> error "Tenant ID missing!"
oauth2Plugins
| UserAuthConfSingleSource (AuthSourceConfAzure AzureConf{..}) appUserAuthConf
-> singleton $ oauth2AzureADScoped (Set.toList azureConfScopes) azureConfClientId azureConfClientSecret
= singleton $ oauth2AzureADScoped (Set.toList azureConfScopes) azureConfClientId azureConfClientSecret
| otherwise
-> mempty
= mempty
#endif
let appAuthPlugins = oauth2Plugins