From e56f9b6dfbd3a0a68a1c632a75e9be7ce62c96f3 Mon Sep 17 00:00:00 2001 From: Maurice Brand-Freitag Date: Tue, 13 Aug 2024 12:04:54 +0200 Subject: [PATCH] use keycloak for managing client registration clients --- KeycloakAuthorizationServicesDotNet.sln | 2 +- ...hirdParty.Keycloak.AuthServices.Sdk.Kiota.csproj} | 2 +- tests/TestWebApi/Properties/launchSettings.json | 12 ++++++++++++ .../Properties/launchSettings.json | 12 ++++++++++++ 4 files changed, 26 insertions(+), 2 deletions(-) rename src/Keycloak.AuthServices.Sdk.Kiota/{Keycloak.AuthServices.Sdk.Kiota.csproj => ThirdParty.Keycloak.AuthServices.Sdk.Kiota.csproj} (97%) create mode 100644 tests/TestWebApi/Properties/launchSettings.json create mode 100644 tests/TestWebApiWithControllers/Properties/launchSettings.json diff --git a/KeycloakAuthorizationServicesDotNet.sln b/KeycloakAuthorizationServicesDotNet.sln index 48afcb44..c3c8b1ac 100644 --- a/KeycloakAuthorizationServicesDotNet.sln +++ b/KeycloakAuthorizationServicesDotNet.sln @@ -68,7 +68,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestWebApi", "tests\TestWeb EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Keycloak.AuthServices.Authorization.Tests", "tests\Keycloak.AuthServices.Authorization.Tests\Keycloak.AuthServices.Authorization.Tests.csproj", "{331F4EF5-9CFE-4060-B903-69CCE9062BFD}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Keycloak.AuthServices.Sdk.Kiota", "src\Keycloak.AuthServices.Sdk.Kiota\Keycloak.AuthServices.Sdk.Kiota.csproj", "{8C43A1C1-0069-4B21-ADDE-5268EB214820}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ThirdParty.Keycloak.AuthServices.Sdk.Kiota", "src\Keycloak.AuthServices.Sdk.Kiota\ThirdParty.Keycloak.AuthServices.Sdk.Kiota.csproj", "{8C43A1C1-0069-4B21-ADDE-5268EB214820}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestWebApiWithControllers", "tests\TestWebApiWithControllers\TestWebApiWithControllers.csproj", "{BF2DCACD-E7C4-4B92-909F-CC535B70F94D}" EndProject diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Keycloak.AuthServices.Sdk.Kiota.csproj b/src/Keycloak.AuthServices.Sdk.Kiota/ThirdParty.Keycloak.AuthServices.Sdk.Kiota.csproj similarity index 97% rename from src/Keycloak.AuthServices.Sdk.Kiota/Keycloak.AuthServices.Sdk.Kiota.csproj rename to src/Keycloak.AuthServices.Sdk.Kiota/ThirdParty.Keycloak.AuthServices.Sdk.Kiota.csproj index f35e3d74..56920b0c 100644 --- a/src/Keycloak.AuthServices.Sdk.Kiota/Keycloak.AuthServices.Sdk.Kiota.csproj +++ b/src/Keycloak.AuthServices.Sdk.Kiota/ThirdParty.Keycloak.AuthServices.Sdk.Kiota.csproj @@ -10,7 +10,7 @@ Keycloak HTTP Admin API generated by Kiota Keycloak;KeycloakAdminAPI;HttpClient true - 25.0.1 + 25.0.0 diff --git a/tests/TestWebApi/Properties/launchSettings.json b/tests/TestWebApi/Properties/launchSettings.json new file mode 100644 index 00000000..ffc619c4 --- /dev/null +++ b/tests/TestWebApi/Properties/launchSettings.json @@ -0,0 +1,12 @@ +{ + "profiles": { + "TestWebApi": { + "commandName": "Project", + "launchBrowser": true, + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + }, + "applicationUrl": "https://localhost:55748;http://localhost:55749" + } + } +} \ No newline at end of file diff --git a/tests/TestWebApiWithControllers/Properties/launchSettings.json b/tests/TestWebApiWithControllers/Properties/launchSettings.json new file mode 100644 index 00000000..eeede66f --- /dev/null +++ b/tests/TestWebApiWithControllers/Properties/launchSettings.json @@ -0,0 +1,12 @@ +{ + "profiles": { + "TestWebApiWithControllers": { + "commandName": "Project", + "launchBrowser": true, + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + }, + "applicationUrl": "https://localhost:55747;http://localhost:55750" + } + } +} \ No newline at end of file