Skip to content
Discussion options

You must be logged in to vote

In v4, some things have moved around, so your previous way to configure the client probably trips the new validation rule we have on the client secret.

In short, you should not set the ClientSecret property when configuring an OpenID Connect client using client assertion to authenticate. In the ClientAssertionService implementation, you still need to inject the JWK, but from configuration or a custom IOptions<...> instead of retrieving it from the OpenIdConnectOptions.ClientSecret property.

Here's a sample that shows this exact setup.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@millitza
Comment options

Answer selected by millitza
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants