
ShubhamG.37457 (Customer) asked a question.
Can anyone help me with this- how we can resolve Okta Oauth Sdk error- "invalid_client - The client does not have a JWKSet configured, but the client_assertion requires one."
The same thing was working before, but now getting this error.
Please help, this is urgent.

Hello @ShubhamG.37457 (Customer),
I noticed you have an open case on this issue. Were they able to help you with this?
Regards,
Natalia
Okta Inc.
Hi @User16254393570754125507 (Okta) ,
The issue is thill open, I am waiting on a resolution.
I had the same problem and it was resolved when my Okta team gave me the correct Client ID.
For some reason the old Client still works when calling the APIs with a JWT/Token so that doesn't make sense, but this config works for the Okta Client:
_oktaClient = new OktaClient(new OktaClientConfiguration
{
OktaDomain = ConfigurationManager.AppSettings["OktaUri"],
AuthorizationMode = AuthorizationMode.PrivateKey,
PrivateKey = new JsonWebKeyConfiguration
{
P = "5pz...",
Kty = "RSA",
Q = "xpP...",
D = "Wh..",
E = "A..",
Kid = "ZGx...",
Qi = "gA9...",
Dp = "YcU...",
Dq = "Yq5y...",
N = "suK..."
},
ClientId = "0oa....",
Scopes = new List<string>
{
"okta.users.read"
}
});
Was there any other resolution here? I'm getting the same error using the Terraform Provider for Okta.