diff --git a/web/staticwebapp.config.json b/web/staticwebapp.config.json index 7fc66a4..4235b84 100644 --- a/web/staticwebapp.config.json +++ b/web/staticwebapp.config.json @@ -1,49 +1,10 @@ { "routes": [ - { - "route": "/.auth/*", - "allowedRoles": [ - "authenticated" - ] - }, { "route": "/*", "allowedRoles": [ - "anonymous", - "authenticated" + "anonymous" ] } - ], - "responseOverrides": { - "401": { - "statusCode": 302, - "redirect": "/.auth/login/keycloak" - } - }, - "auth": { - "identityProviders": { - "customOpenIdConnectProviders": { - "keycloak": { - "registration": { - "clientIdSettingName": "CLIENT_ID_SETTING_NAME", - "clientCredential": { - "clientSecretSettingName": "CLIENT_SECRET_SETTING_NAME" - }, - "openIdConnectConfiguration": { - "wellKnownOpenIdConfiguration": "https://keycloak.ops.ai-data.imec.be/realms/deployEMDS/.well-known/openid-configuration" - } - }, - "login": { - "nameClaimType": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name", - "scopes": [ - "openid", - "profile", - "email" - ], - "loginParameterNames": [] - } - } - } - } - } + ] }