Skip to content

Instantly share code, notes, and snippets.

@BelRarr
Created January 18, 2018 20:39
Show Gist options
  • Select an option

  • Save BelRarr/d7e7aed8b3298d367f783a6fde3d36fd to your computer and use it in GitHub Desktop.

Select an option

Save BelRarr/d7e7aed8b3298d367f783a6fde3d36fd to your computer and use it in GitHub Desktop.
AADforAnExistingWebApp - Règles d'autorisation des URLs de l'application
{
"routes": [
{
"path_prefix": "/Home/Contact",
"policies": { "unauthenticated_action": "AllowAnonymous" }
},
{
"path_prefix": "/",
"policies": { "unauthenticated_action": "RedirectToLoginPage" }
},
{
"path_prefix": "/Home/About",
"policies": { "unauthenticated_action": "RejectWith404" }
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment