
ArivarasanA.80054 (Customer) asked a question.
I'm trying to authenticate the user with auth_code from okta to the token endpoint url using private_key_jwt method.
So i've signed the payload with private key and upload the jwks public key to okta, and when i make token request with auth_code from okta fails with 400 ad request.
when i check the okta logs it says the "mismatched_redirect_uri" is the failure reason.
I've already added the redirect uri but when hitting token endpoint i'm not passing any redirect uri.
Could someone please help on this?

Hello @ArivarasanA.80054 (Customer),
Please check the following link with information: https://support.okta.com/help/s/article/The-redirect-uri-parameter-must-be-an-absolute-URI?language=en_US
Regards,
Natalia
Okta Inc.