Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 857173af25 | |||
| e29c1ef6fc | |||
| c8a4a4cb17 | |||
| 56e002875e | |||
| d485e78498 | |||
| ba3f8f6f9b |
@@ -54,13 +54,13 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="LiteCharms.Features" Version="1.77.0" />
|
<PackageReference Include="LiteCharms.Features" Version="1.82.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<!-- UI -->
|
<!-- UI -->
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="ANM.Blazored.Toast" Version="0.1.1" />
|
<PackageReference Include="ANM.Blazored.Toast" Version="0.1.1" />
|
||||||
<PackageReference Include="LiteCharms.Features.MidrandBooks" Version="1.77.0" />
|
<PackageReference Include="LiteCharms.Features.MidrandBooks" Version="1.82.0" />
|
||||||
|
|
||||||
<!-- Global Usings -->
|
<!-- Global Usings -->
|
||||||
<Using Include="Blazored.Toast.Services" />
|
<Using Include="Blazored.Toast.Services" />
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ builder.Services.AddEndpoints(Assembly.GetExecutingAssembly());
|
|||||||
builder.Services.AddApiServices(builder.Configuration);
|
builder.Services.AddApiServices(builder.Configuration);
|
||||||
|
|
||||||
builder.Services.AddMediator();
|
builder.Services.AddMediator();
|
||||||
builder.Services.AddAuthentic(builder.Configuration);
|
builder.Services.AddAuthentikApiSecurity(builder.Configuration);
|
||||||
|
|
||||||
builder.Services.AddScoped(typeof(IPipelineBehavior<,>), typeof(TelemetryPipelineBehavior<,>));
|
builder.Services.AddScoped(typeof(IPipelineBehavior<,>), typeof(TelemetryPipelineBehavior<,>));
|
||||||
builder.Services.AddScoped(typeof(IPipelineBehavior<,>), typeof(LoggingPipelineBehavior<,>));
|
builder.Services.AddScoped(typeof(IPipelineBehavior<,>), typeof(LoggingPipelineBehavior<,>));
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"AuthentikSettings": {
|
"AuthentikSettings": {
|
||||||
"Authority": "https://id.khongisa.co.za/application/o/midrand-books-api-uat/",
|
"Authority": "https://id.khongisa.co.za/application/o/midrand-books-api-uat/",
|
||||||
"IntrospectionUrl": "https://id.khongisa.co.za/application/o/introspect/",
|
"IntrospectionEndpoint": "https://id.khongisa.co.za/application/o/introspect/",
|
||||||
"RequiredClaimName": "scope",
|
"RequiredClaimName": "scope",
|
||||||
"RequiredClaimNameValue": "openid",
|
"RequiredClaimNameValue": "openid",
|
||||||
"RequireHttpsMetadata": true
|
"RequireHttpsMetadata": true
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ data:
|
|||||||
ValidPayfastHosts__5: "api.payfast.co.za"
|
ValidPayfastHosts__5: "api.payfast.co.za"
|
||||||
ValidPayfastHosts__6: "payment.payfast.io"
|
ValidPayfastHosts__6: "payment.payfast.io"
|
||||||
AuthentikSettings__Authority: "https://id.khongisa.co.za/application/o/midrand-books-api-uat/"
|
AuthentikSettings__Authority: "https://id.khongisa.co.za/application/o/midrand-books-api-uat/"
|
||||||
AuthentikSettings__IntrospectionUrl: "https://id.khongisa.co.za/application/o/introspect/"
|
AuthentikSettings__IntrospectionEndpoint: "https://id.khongisa.co.za/application/o/introspect/"
|
||||||
AuthentikSettings__RequiredClaimName: "scope"
|
AuthentikSettings__RequiredClaimName: "scope"
|
||||||
AuthentikSettings__RequiredClaimNameValue: "openid"
|
AuthentikSettings__RequiredClaimNameValue: "openid"
|
||||||
AuthentikSettings__RequireHttpsMetadata: "true"
|
AuthentikSettings__RequireHttpsMetadata: "true"
|
||||||
@@ -100,12 +100,12 @@ spec:
|
|||||||
- configMapRef:
|
- configMapRef:
|
||||||
name: midrandbooksapi-config
|
name: midrandbooksapi-config
|
||||||
env:
|
env:
|
||||||
- name: AuthentikSettings__ApiResourceName
|
- name: AuthentikSettings__ClientId
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: midrandbooksapi-secrets
|
name: midrandbooksapi-secrets
|
||||||
key: authentik-clientid
|
key: authentik-clientid
|
||||||
- name: AuthentikSettings__ApiResourceSecret
|
- name: AuthentikSettings__ClientSecret
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: midrandbooksapi-secrets
|
name: midrandbooksapi-secrets
|
||||||
|
|||||||
Reference in New Issue
Block a user