diff --git a/Persistence.API/appsettings.json b/Persistence.API/appsettings.json index d4248fb..6130fc9 100644 --- a/Persistence.API/appsettings.json +++ b/Persistence.API/appsettings.json @@ -6,16 +6,14 @@ } }, "ConnectionStrings": { - "DefaultConnection": "Host=localhost;Database=persistence;Username=postgres;Password=q;Persist Security Info=True" + "DefaultConnection": "Host=localhost;Port=5432;Database=persistence;Username=postgres;Password=q;Persist Security Info=True" }, "AllowedHosts": "*", - "Authentication": { - "MetadataAddress": "http://192.168.0.10:8321/realms/Persistence/.well-known/openid-configuration", - "Audience": "account", - "ValidIssuer": "http://192.168.0.10:8321/realms/Persistence", - "AuthorizationUrl": "http://192.168.0.10:8321/realms/Persistence/protocol/openid-connect/auth" - }, "NeedUseKeyCloak": false, + "KeyCloakAuthentication": { + "Audience": "account", + "Host": "http://192.168.0.10:8321/realms/Persistence" + }, "AuthUser": { "username": "myuser", "password": 12345,