Skip to content

Commit

Permalink
fix mainTemplate
Browse files Browse the repository at this point in the history
  • Loading branch information
dayesouza committed Dec 10, 2024
1 parent 0ca4b5a commit 8165774
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions deploy/azure/mainTemplate.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"ftpsState": "FtpsOnly",
"linuxFxVersion": "sitecontainers",
"siteContainerName": "main",
"redirectUrl": "[concat('https://', parameters('webAppName'), '.azurewebsites.net')]"
"redirectUrl": "[concat('https://', parameters('webAppName'), '.azurewebsites.net/.auth/login/aad')]"
},
"resources": [
{
Expand Down Expand Up @@ -165,7 +165,13 @@
"properties": {
"globalValidation": {
"requireAuthentication": "[equals(parameters('disableAuth'), 'false')]",
"unauthenticatedClientAction": "RedirectToLoginPage"
"unauthenticatedClientAction": "RedirectToLoginPage",
"redirectToProvider": "AzureActiveDirectory",
"login": {
"loginParameters": {
"redirectUrl": "[variables('redirectUrl')]"
}
}
},
"identityProviders": {
"azureActiveDirectory": {
Expand Down

0 comments on commit 8165774

Please sign in to comment.