Created
July 24, 2023 12:18
-
-
Save GrillPhil/a8a6eaec9a256243fc7f07f5151e4077 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"routes": [ | |
{ | |
"route": "/*", | |
"allowedRoles": [ | |
"authenticated" | |
] | |
} | |
], | |
"navigationFallback": { | |
"rewrite": "index.html", | |
"exclude": [ | |
"/images/*.{png,jpg,gif,ico}", | |
"/*.{css,scss,js}" | |
] | |
}, | |
"responseOverrides": { | |
"401": { | |
"redirect": "/.auth/login/aad", | |
"statusCode": 302 | |
} | |
}, | |
"auth": { | |
"identityProviders": { | |
"azureActiveDirectory": { | |
"registration": { | |
"openIdIssuer": "https://login.microsoftonline.com/{YOUR_TENANT_ID}/v2.0", | |
"clientIdSettingName": "APP_CLIENT_ID", | |
"clientSecretSettingName": "APP_CLIENT_SECRET" | |
} | |
} | |
} | |
}, | |
"globalHeaders": { | |
"Cache-Control": "no-cache" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment