Skip to content

Instantly share code, notes, and snippets.

@GrillPhil
Created July 24, 2023 12:18
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GrillPhil/a8a6eaec9a256243fc7f07f5151e4077 to your computer and use it in GitHub Desktop.
Save GrillPhil/a8a6eaec9a256243fc7f07f5151e4077 to your computer and use it in GitHub Desktop.
{
"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