
MatanT.67364 (Customer) asked a question.
I am using an external IDP, when i try to authenticate I am getting the following error:
"com.saasure.platform.services.idp.exception.IdpAuthenticationException: Could not obtain access token from OIDC."
as can see also in the image:
I am not sure why it happens, week ago the authentication flow works fine so I am not sure if is on the oidc endpoint side or in OKTA side

Hi @MatanT.67364 (Customer),
Thank you for posting on the Okta community page!
I have done some research and it seems that this error might be thrown if the IdP is refusing/denying the request, therefore I would suggest to check the logs on the IdP side and see if there are any errors reported that might indicate what is causing the issue. Also, I would re-check the configuration to make sure that no changes have been made that could affect the authentication.
Additionally, you could try to capture a har file while reproducing the behaviour as it might contain additional information indicating the root cause of the issue.
My advice would be to also leverage the Okta Developer forums for this type of questions and take advantage of their expertise.
------------------------------------------------------------------------------------------------------------------------------------------------
The Okta Community November newsletter is here. Get product updates and see our top contributing members.
Thank you @flaviu.vrinceanu1.5628408972654734E12 (Customer Success Service Delivery) , following up on your advice double check our IDP logs and it caused due to server rejection