Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
feat: use version 2 of app authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed Apr 15, 2021
1 parent f36b52e commit e84147d
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -349,12 +349,23 @@
"properties": {
"siteAuthEnabled": true,
"siteAuthSettings": {
"configVersion": "v2",
"enabled": true,
"unauthenticatedClientAction": "RedirectToLoginPage",
"tokenStoreEnabled": true,
"defaultProvider": "AzureActiveDirectory",
"clientId": "[parameters('appRegistrationClientId')]",
"issuer": "[concat('https://',parameters('b2cTenant'),'.b2clogin.com/',parameters('b2cTenant'),'.onmicrosoft.com/v2.0/.well-known/openid-configuration?p=',parameters('b2cFlowName'),'')]"
"issuer": "[concat('https://',parameters('b2cTenant'),'.b2clogin.com/',parameters('b2cTenant'),'.onmicrosoft.com/',parameters('b2cFlowName'),'/v2.0/')]",
"runtimeVersion": "~1",
"httpApiPrefixPath": "/.auth",
"allowedExternalRedirectUrls": [
"[concat('https://', parameters('appName'), 'app.z16.web.core.windows.net/')]",
"http://localhost:3000/"
],
"tokenRefreshExtensionHours": 72,
"allowedAudiences": [],
"isAadAutoProvisioned": false,
"aadClaimsAuthorization": "{\"allowed_groups\":null,\"allowed_client_applications\":null}"
}
}
}
Expand Down

0 comments on commit e84147d

Please sign in to comment.