Templates/DocsSite/staticwebapp.config.json
{
"routes": [ { "route": "/*", "allowedRoles": [ "authenticated" ] } ], "auth": { "identityProviders": { "azureActiveDirectory": { "userDetailsClaim": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name", "registration": { "openIdIssuer": "https://login.microsoftonline.com/CUSTOM_AZURE_TENANT_ID", "clientIdSettingName": "AZURE_CLIENT_ID", "clientSecretSettingName": "AZURE_CLIENT_SECRET" } } } }, "globalHeaders": { "Cache-Control": "no-cache" }, "responseOverrides": { "401": { "redirect": "/.auth/login/aad?post_login_redirect_uri=/index.html", "statusCode": 302 } } } |