diff --git a/MidrandBooksApi/Program.cs b/MidrandBooksApi/Program.cs index b48974c..6fc42ac 100644 --- a/MidrandBooksApi/Program.cs +++ b/MidrandBooksApi/Program.cs @@ -1,8 +1,6 @@ -using LiteCharms.Features.Api.Configuration; using LiteCharms.Features.Extensions; using LiteCharms.Features.Mediator; using LiteCharms.Features.MidrandBooks.Extensions; -using Microsoft.Extensions.Options; using static LiteCharms.Features.Extensions.Quartz; var builder = WebApplication.CreateBuilder(args); diff --git a/MidrandBooksApi/appsettings.json b/MidrandBooksApi/appsettings.json index 181de06..c2110f2 100644 --- a/MidrandBooksApi/appsettings.json +++ b/MidrandBooksApi/appsettings.json @@ -2,8 +2,6 @@ "AuthentikSettings": { "Authority": "https://id.khongisa.co.za/application/o/midrand-books-api-uat/", "IntrospectionUrl": "https://id.khongisa.co.za/application/o/introspect/", - "ApiResourceName": "i6ygr84HlnhxFYqLJVJ2HhdlVrOYE4PnurT5cPQW", - "ApiResourceSecret": "tvPUM3Vqfk2sra99s9lN3Yli0ylaGT6vbQBqfH7KvSIbTeJ6dZGB12NW4MxqDDWJexP7vXfjTAZtR3j3ivD6cTJr5xQ9S4rpFnSfY4Fi69RNwRvKHj8hVrd3wobq6ODG", "RequiredClaimName": "scope", "RequiredClaimNameValue": "openid", "RequireHttpsMetadata": true diff --git a/midrandbooksapi-uat.yml b/midrandbooksapi-uat.yml index 50e5033..15a663a 100644 --- a/midrandbooksapi-uat.yml +++ b/midrandbooksapi-uat.yml @@ -26,6 +26,11 @@ data: ValidPayfastHosts__4: "ips.payfast.co.za" ValidPayfastHosts__5: "api.payfast.co.za" ValidPayfastHosts__6: "payment.payfast.io" + AuthentikSettings__Authority: "https://id.khongisa.co.za/application/o/midrand-books-api-uat/" + AuthentikSettings__IntrospectionUrl: "https://id.khongisa.co.za/application/o/introspect/" + AuthentikSettings__RequiredClaimName: "scope" + AuthentikSettings__RequiredClaimNameValue: "openid" + AuthentikSettings__RequireHttpsMetadata: "true" --- apiVersion: v1 kind: Secret @@ -41,6 +46,8 @@ data: hasher-payfastpassphrase: OUdBSVIwdFdwaFgwcU8= bookshop-s3-accesskey: R0s1MTRkMmNlOGRjNjkyMzdhMDVjMDFlZWY= bookshop-s3-secretkey: ZWFhZmVkYTFhZWQ0MDllY2ZlNjA3MTRlY2RhNTQ5YjgyYmRmNWEzZGFmOWYxOGRkNjFmNjZiNDk3M2E2NDgyZQ== + authentik-clientid: aTZ5Z3I4NEhsbmh4RllxTEpWSjJIaGRsVnJPWUU0UG51clQ1Y1BRVw== + authentik-clientsecret: dHZQVU0zVnFmazJzcmE5OXM5bE4zWWxpMHlsYUdUNnZiUUJxZkg3S3ZTSWJUZUo2ZFpHQjEyTlc0TXhxRERXSmV4UDd2WGZqVEFadFIzajNpdkQ2Y1RKcjV4UTlTNHJwRm5TZlk0Rmk2OVJOd1J2S0hqOGhWcmQzd29icTZPREc= --- apiVersion: v1 kind: PersistentVolumeClaim