I\'m trying to use public/private keys instead of a shared secret for client secrets with IdentityServer4. This approach is documented here.
If it was a shared secret,
I think it has to be a signed JWT. Check out the PrivateKeyJwtSecretValidator class in the IDS4 codebase:
https://github.com/IdentityServer/IdentityServer4/blob/2.1.3/src/IdentityServer4/Validation/PrivateKeyJwtSecretValidator.cs