From 6c22e5a2f4eabf2d07ed295ade8ea71ec25794ea Mon Sep 17 00:00:00 2001 From: Sayed Ibrahim Hashimi Date: Tue, 9 Feb 2021 21:43:06 -0500 Subject: [PATCH] Update appSettings.json to have a comment for org auth cases (#29610) * adding comment into appSettings.json for org auth scenarios * fix to escape url --- .../content/BlazorServerWeb-CSharp/appsettings.json | 5 +++++ .../Client/wwwroot/appsettings.json | 5 +++++ .../ComponentsWebAssembly-CSharp/Server/appsettings.json | 5 +++++ .../content/RazorPagesWeb-CSharp/appsettings.json | 5 +++++ .../content/StarterWeb-CSharp/appsettings.json | 5 +++++ .../content/WebApi-CSharp/appsettings.json | 5 +++++ 6 files changed, 30 insertions(+) diff --git a/src/ProjectTemplates/Web.ProjectTemplates/content/BlazorServerWeb-CSharp/appsettings.json b/src/ProjectTemplates/Web.ProjectTemplates/content/BlazorServerWeb-CSharp/appsettings.json index 1c0516223b..2600937c47 100644 --- a/src/ProjectTemplates/Web.ProjectTemplates/content/BlazorServerWeb-CSharp/appsettings.json +++ b/src/ProjectTemplates/Web.ProjectTemplates/content/BlazorServerWeb-CSharp/appsettings.json @@ -16,6 +16,11 @@ // "EditProfilePolicyId": "MyEditProfilePolicyId" // }, ////#elseif (OrganizationalAuth) +///* +The following identity settings need to be configured +before the project can be successfully executed. +For more info see https:////aka.ms/dotnet-template-ms-identity-platform +//*/ // "AzureAd": { // "Instance": "https:////login.microsoftonline.com/", //#if (MultiOrgAuth) diff --git a/src/ProjectTemplates/Web.ProjectTemplates/content/ComponentsWebAssembly-CSharp/Client/wwwroot/appsettings.json b/src/ProjectTemplates/Web.ProjectTemplates/content/ComponentsWebAssembly-CSharp/Client/wwwroot/appsettings.json index b42e773286..e485918eea 100644 --- a/src/ProjectTemplates/Web.ProjectTemplates/content/ComponentsWebAssembly-CSharp/Client/wwwroot/appsettings.json +++ b/src/ProjectTemplates/Web.ProjectTemplates/content/ComponentsWebAssembly-CSharp/Client/wwwroot/appsettings.json @@ -13,6 +13,11 @@ //} ////#endif ////#if (OrganizationalAuth) + ///* + The following identity settings need to be configured + before the project can be successfully executed. + For more info see https:////aka.ms/dotnet-template-ms-identity-platform + //*/ //"AzureAd": { // "Authority": "https:////login.microsoftonline.com/22222222-2222-2222-2222-222222222222", // "ClientId": "33333333-3333-3333-33333333333333333", diff --git a/src/ProjectTemplates/Web.ProjectTemplates/content/ComponentsWebAssembly-CSharp/Server/appsettings.json b/src/ProjectTemplates/Web.ProjectTemplates/content/ComponentsWebAssembly-CSharp/Server/appsettings.json index b5f991734b..9a52accba0 100644 --- a/src/ProjectTemplates/Web.ProjectTemplates/content/ComponentsWebAssembly-CSharp/Server/appsettings.json +++ b/src/ProjectTemplates/Web.ProjectTemplates/content/ComponentsWebAssembly-CSharp/Server/appsettings.json @@ -20,6 +20,11 @@ // "SignUpSignInPolicyId": "MySignUpSignInPolicyId" // }, ////#elseif (OrganizationalAuth) +///* +The following identity settings need to be configured +before the project can be successfully executed. +For more info see https:////aka.ms/dotnet-template-ms-identity-platform +//*/ // "AzureAd": { // "Instance": "https:////login.microsoftonline.com/", //#if (!SingleOrgAuth) diff --git a/src/ProjectTemplates/Web.ProjectTemplates/content/RazorPagesWeb-CSharp/appsettings.json b/src/ProjectTemplates/Web.ProjectTemplates/content/RazorPagesWeb-CSharp/appsettings.json index 634fb6db8a..b83ba6bfb1 100644 --- a/src/ProjectTemplates/Web.ProjectTemplates/content/RazorPagesWeb-CSharp/appsettings.json +++ b/src/ProjectTemplates/Web.ProjectTemplates/content/RazorPagesWeb-CSharp/appsettings.json @@ -16,6 +16,11 @@ // "EditProfilePolicyId": "MyEditProfilePolicyId" // }, ////#elseif (OrganizationalAuth) +///* +The following identity settings need to be configured +before the project can be successfully executed. +For more info see https:////aka.ms/dotnet-template-ms-identity-platform +//*/ // "AzureAd": { // "Instance": "https:////login.microsoftonline.com/", //#if (MultiOrgAuth) diff --git a/src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-CSharp/appsettings.json b/src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-CSharp/appsettings.json index f6582afb07..7a371499dc 100644 --- a/src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-CSharp/appsettings.json +++ b/src/ProjectTemplates/Web.ProjectTemplates/content/StarterWeb-CSharp/appsettings.json @@ -16,6 +16,11 @@ // "CallbackPath": "/signin-oidc" // }, ////#elseif (OrganizationalAuth) +///* +The following identity settings need to be configured +before the project can be successfully executed. +For more info see https:////aka.ms/dotnet-template-ms-identity-platform +//*/ // "AzureAd": { // "Instance": "https:////login.microsoftonline.com/", //#if (MultiOrgAuth) diff --git a/src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/appsettings.json b/src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/appsettings.json index 2b965fcc65..da683e6dcd 100644 --- a/src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/appsettings.json +++ b/src/ProjectTemplates/Web.ProjectTemplates/content/WebApi-CSharp/appsettings.json @@ -12,6 +12,11 @@ // "SignUpSignInPolicyId": "MySignUpSignInPolicyId" // }, ////#elseif (OrganizationalAuth) +///* +The following identity settings need to be configured +before the project can be successfully executed. +For more info see https:////aka.ms/dotnet-template-ms-identity-platform +//*/ // "AzureAd": { // "Instance": "https:////login.microsoftonline.com/", //#if (!SingleOrgAuth)