okta-sdk-python icon indicating copy to clipboard operation
okta-sdk-python copied to clipboard

Authentication with Signed JWT is failing

Open tionebsalocin opened this issue 1 year ago • 3 comments

Since this commit: https://github.com/okta/okta-sdk-python/commit/bdb9838b0f83f3ff5899d403dd088693bb6743a6#diff-41c516c6f9713627b4ce8db6b845098b587d92875f254d78041b7f9478b7a6d4R61 (included in 2.9.9).

Authentication is failing because it passes the JWT (client_assertion) in the body but the API does not allow this. It must be a query param (as it was before).

Here is Okta's documentation: https://developer.okta.com/docs/reference/rest/#get-an-access-token-from-a-signed-jwt

Would it be possible to revert this commit?

tionebsalocin avatar Dec 17 '24 09:12 tionebsalocin

https://github.com/okta/okta-sdk-python/pull/429

csanders-git avatar Jan 02 '25 21:01 csanders-git

Yep, having the same issue here in 2.9.9 when the call works fine on 2.9.8! This is a serious problem for us right now and if someone can provide a workaround for this in the meantime, it would be great! Thank you!!

anuj530 avatar Jan 09 '25 07:01 anuj530

#426 appears to be related too

BowlesCR avatar Jan 10 '25 21:01 BowlesCR