diff --git a/samples/aspnetcore-authz-with-ext-authz-service/Contoso.API/Contoso.API.csproj b/samples/aspnetcore-authz-with-ext-authz-service/Contoso.API/Contoso.API.csproj index 7284fca..8342cf8 100644 --- a/samples/aspnetcore-authz-with-ext-authz-service/Contoso.API/Contoso.API.csproj +++ b/samples/aspnetcore-authz-with-ext-authz-service/Contoso.API/Contoso.API.csproj @@ -7,10 +7,6 @@ aspnet-Contoso.API-37B83CE7-5BE8-423E-9F95-051D20FAB4A4 - - - - diff --git a/samples/aspnetcore-authz-with-ext-authz-service/Contoso.API/appsettings.json b/samples/aspnetcore-authz-with-ext-authz-service/Contoso.API/appsettings.json new file mode 100644 index 0000000..4fb9600 --- /dev/null +++ b/samples/aspnetcore-authz-with-ext-authz-service/Contoso.API/appsettings.json @@ -0,0 +1,15 @@ +{ + "AzureAd": { + "Instance": "https://login.microsoftonline.com/", + "Domain": ".onmicrosoft.com">, + "TenantId": "", + "ClientId": "" + }, + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + }, + "AllowedHosts": "*" +} diff --git a/samples/aspnetcore-authz-with-ext-authz-service/Contoso.Security.API/appsettings.json b/samples/aspnetcore-authz-with-ext-authz-service/Contoso.Security.API/appsettings.json new file mode 100644 index 0000000..3594e0e --- /dev/null +++ b/samples/aspnetcore-authz-with-ext-authz-service/Contoso.Security.API/appsettings.json @@ -0,0 +1,12 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + }, + "AllowedHosts": "*", + "AllowedClients": [ + "" + ] +} diff --git a/samples/aspnetcore-authz-with-ext-authz-service/ContosoExternAuth.sln b/samples/aspnetcore-authz-with-ext-authz-service/ContosoExternAuth.sln new file mode 100644 index 0000000..99128bf --- /dev/null +++ b/samples/aspnetcore-authz-with-ext-authz-service/ContosoExternAuth.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.4.33205.214 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Contoso.API", "Contoso.API\Contoso.API.csproj", "{DAF48F3D-965D-46EE-9DAA-4AC3EDA948B9}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Contoso.Security.API", "Contoso.Security.API\Contoso.Security.API.csproj", "{5C73099B-CB2F-4594-BDB2-8EB36D80BD50}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {DAF48F3D-965D-46EE-9DAA-4AC3EDA948B9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DAF48F3D-965D-46EE-9DAA-4AC3EDA948B9}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DAF48F3D-965D-46EE-9DAA-4AC3EDA948B9}.Release|Any CPU.ActiveCfg = Release|Any CPU + {DAF48F3D-965D-46EE-9DAA-4AC3EDA948B9}.Release|Any CPU.Build.0 = Release|Any CPU + {5C73099B-CB2F-4594-BDB2-8EB36D80BD50}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5C73099B-CB2F-4594-BDB2-8EB36D80BD50}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5C73099B-CB2F-4594-BDB2-8EB36D80BD50}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5C73099B-CB2F-4594-BDB2-8EB36D80BD50}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {9C570FF1-751C-4BE9-A475-B11BB1161C3C} + EndGlobalSection +EndGlobal