Formatting extensions app client id

Handled removing '-' characters from extensions app ID to simplify deployment process
This commit is contained in:
Darren Wright 2020-04-16 09:14:46 +01:00
Родитель 4c34809f01
Коммит a2462289ce
2 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -31,7 +31,7 @@
1. In Azure AD B2C click **App registrations (Preview)** then the **All applications** header 1. In Azure AD B2C click **App registrations (Preview)** then the **All applications** header
1. Select the **b2c-extensions-app** item 1. Select the **b2c-extensions-app** item
1. Copy the Application ID, you will need this for the application deployment. ***Note: remove the "-" characters from this string for later use*** 1. Copy the Application ID, you will need this for the application deployment.
# Create User Flows # Create User Flows

Просмотреть файл

@ -81,7 +81,8 @@
"appName": "zap", "appName": "zap",
"resgpguid": "[substring(replace(guid(resourceGroup().id), '-', ''), 0, 4)]", "resgpguid": "[substring(replace(guid(resourceGroup().id), '-', ''), 0, 4)]",
"resourceName": "[concat(toLower(parameters('orgName')), '-', toLower(variables('appName')))]", "resourceName": "[concat(toLower(parameters('orgName')), '-', toLower(variables('appName')))]",
"callbackPath": "/signin-oidc" "callbackPath": "/signin-oidc",
"extensionClientId": "[replace(parameters('extensionClientId'), '-', '')]"
}, },
"resources": [ "resources": [
{ {
@ -207,7 +208,7 @@
}, },
{ {
"Name": "ExtensionId", "Name": "ExtensionId",
"Value": "[parameters('extensionClientId')]" "Value": "[variables('extensionClientId')]"
}, },
{ {
"Name": "ClientId", "Name": "ClientId",