Reworked encryption to use less heap allocated buffers for secrets.
Also some work on plugin system.
This commit is contained in:
parent
8782ef39c6
commit
054754f553
42 changed files with 1452 additions and 242 deletions
|
|
@ -6,6 +6,9 @@ namespace IdentityShroud.Api.Mappers;
|
|||
[Mapper]
|
||||
public partial class ClientMapper
|
||||
{
|
||||
// skipping secret as we do not have the DEK
|
||||
[MapperIgnoreSource(nameof(Client.Secrets))]
|
||||
[MapperIgnoreTarget(nameof(ClientRepresentation.Secret))]
|
||||
public partial ClientRepresentation ToDto(Client client);
|
||||
|
||||
}
|
||||
|
|
@ -47,7 +47,7 @@ public static class OpenIdEndpoints
|
|||
TokenEndpoint = baseUri + "/openid-connect/token",
|
||||
Issuer = baseUri,
|
||||
JwksUri = baseUri + "/openid-connect/jwks",
|
||||
}, AppJsonSerializerContext.Default.OpenIdConfiguration);
|
||||
});
|
||||
}
|
||||
|
||||
private static async Task<Results<Ok<JsonWebKeySet>, BadRequest>> OpenIdConnectJwks(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue