-
Notifications
You must be signed in to change notification settings - Fork 218
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix domain issue for other templates (#1150)
- Loading branch information
Showing
16 changed files
with
87 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
102 changes: 51 additions & 51 deletions
102
ProjectTemplates/templates/Worker-CSharp/appsettings.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,54 @@ | ||
{ | ||
////#if (IndividualB2CAuth) | ||
// "AzureAdB2C": { | ||
// "Instance": "https:////yourDomain.b2clogin.com/", | ||
// "ClientId": "11111111-1111-1111-11111111111111111", | ||
// "Domain": "yourDomain.onmicrosoft.com", | ||
//#if (GenerateApi) | ||
// "ClientSecret": "secret-from-app-registration", | ||
// "ClientCertificates" : [ | ||
// ], | ||
//#endif | ||
// "SignUpSignInPolicyId": "MySignUpSignInPolicyId" | ||
// }, | ||
////#elseif (OrganizationalAuth) | ||
// "AzureAd": { | ||
// "Instance": "https:////login.microsoftonline.com/", | ||
//#if (!SingleOrgAuth) | ||
// "TenantId": "common", | ||
//#else | ||
// "Domain": "yourDomain", | ||
// "TenantId": "22222222-2222-2222-2222-222222222222", | ||
//#endif | ||
// "ClientId": "11111111-1111-1111-11111111111111111", | ||
////#if (IndividualB2CAuth) | ||
// "AzureAdB2C": { | ||
// "Instance": "https:////qualified.domain.name.b2clogin.com/", | ||
// "ClientId": "11111111-1111-1111-11111111111111111", | ||
// "Domain": "qualified.domain.name", | ||
//#if (GenerateApi) | ||
// "ClientSecret": "secret-from-app-registration", | ||
// "ClientCertificates" : [ | ||
// ], | ||
//#endif | ||
// "SignUpSignInPolicyId": "MySignUpSignInPolicyId" | ||
// }, | ||
////#elseif (OrganizationalAuth) | ||
// "AzureAd": { | ||
// "Instance": "https:////login.microsoftonline.com/", | ||
//#if (!SingleOrgAuth) | ||
// "TenantId": "common", | ||
//#else | ||
// "Domain": "qualified.domain.name", | ||
// "TenantId": "22222222-2222-2222-2222-222222222222", | ||
//#endif | ||
// "ClientId": "11111111-1111-1111-11111111111111111", | ||
|
||
//#if (GenerateApiOrGraph) | ||
// "ClientSecret": "secret-from-app-registration", | ||
// "ClientCertificates" : [ | ||
// ], | ||
//#endif | ||
// "CallbackPath": "/signin-oidc" | ||
// }, | ||
////#endif | ||
////#if (GenerateApiOrGraph) | ||
// "DownstreamApi": { | ||
// /* | ||
// 'Scopes' contains space separated scopes of the Web API you want to call. This can be: | ||
// - a scope for a V2 application (for instance api://b3682cc7-8b30-4bd2-aaba-080c6bf0fd31/access_as_user) | ||
// - a scope corresponding to a V1 application (for instance <App ID URI>/.default, where <App ID URI> is the | ||
// App ID URI of a legacy v1 Web application | ||
// Applications are registered in the https://portal.azure.com portal. | ||
// */ | ||
// "BaseUrl": "[WebApiUrl]", | ||
// "Scopes": "user.read" | ||
// }, | ||
////#endif | ||
"Logging": { | ||
"LogLevel": { | ||
"Default": "Information", | ||
"Microsoft": "Warning", | ||
"Microsoft.Hosting.Lifetime": "Information" | ||
} | ||
}, | ||
"AllowedHosts": "*" | ||
//#if (GenerateApiOrGraph) | ||
// "ClientSecret": "secret-from-app-registration", | ||
// "ClientCertificates" : [ | ||
// ], | ||
//#endif | ||
// "CallbackPath": "/signin-oidc" | ||
// }, | ||
////#endif | ||
////#if (GenerateApiOrGraph) | ||
// "DownstreamApi": { | ||
// /* | ||
// 'Scopes' contains space separated scopes of the Web API you want to call. This can be: | ||
// - a scope for a V2 application (for instance api://b3682cc7-8b30-4bd2-aaba-080c6bf0fd31/access_as_user) | ||
// - a scope corresponding to a V1 application (for instance <App ID URI>/.default, where <App ID URI> is the | ||
// App ID URI of a legacy v1 Web application | ||
// Applications are registered in the https://portal.azure.com portal. | ||
// */ | ||
// "BaseUrl": "[WebApiUrl]", | ||
// "Scopes": "user.read" | ||
// }, | ||
////#endif | ||
"Logging": { | ||
"LogLevel": { | ||
"Default": "Information", | ||
"Microsoft": "Warning", | ||
"Microsoft.Hosting.Lifetime": "Information" | ||
} | ||
}, | ||
"AllowedHosts": "*" | ||
} |