-
Hi, Certain providers, okta being the one I'm currently using, return an error when the client_id is included with the form parameters when performing authentication using a jwt-bearer client assertion, eg. when doing private_key_jwt. For reference, the error returned by okta is like If I modify the openid-client code to not add the client_id to the form parameters then authentication with okta works ok. Is there any correct way to exclude the client_id from the form parameters while waiting for okta to fix the issue on their side (if they fix it at all)? If not, I'm happy to provide a PR to do this if required/desired. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There is not. The optionality of body |
Beta Was this translation helpful? Give feedback.
There is not. The optionality of body
client_id
is called out in the underpinning ofprivate_key_jwt
andclient_secret_jwt
, it's all within spec (and OIDC certified), a standaloneclient_id
in the body is not a "credential" and may always be present regardless of the form of client authentication used.