n4auth/AppCreationScripts/sample.json
2021-07-15 22:55:57 +03:00

41 lines
1.1 KiB
JSON

{
"Sample": {
"Title": "A Node.js & Express web app authenticating users against Azure AD with MSAL Node",
"Level": 100,
"Client": "Node.js & Express web app",
"RepositoryUrl": "ms-identity-javascript-nodejs-tutorial",
"Endpoint": "AAD v2.0"
},
"AADApps": [
{
"Id": "webApp",
"Name": "ms-identity-node",
"Kind": "WebApp",
"Audience": "AzureADMyOrg",
"HomePage": "http://localhost:3000",
"ReplyUrls": "http://localhost:3000/redirect",
"PasswordCredentials": "Auto"
}
],
"CodeConfiguration": [
{
"App": "webApp",
"SettingKind": "Replace",
"SettingFile": "\\..\\index.js",
"Mappings": [
{
"key": "Enter_the_Application_Id_Here",
"value": ".AppId"
},
{
"key": "Enter_the_Cloud_Instance_Id_HereEnter_the_Tenant_Info_Here",
"value": "'https://login.microsoftonline.com/common'"
},
{
"key": "Enter_the_Client_Secret_Here",
"value": ".AppKey"
}
]
}
]
}