OpenId plugin for Third part provider not working

Hi,

I am trying to configure oauth2 for third party provider called cyberarc.
Have configured following things in applicatio.

jmix.oidc.use-default-configuration=true
spring.security.oauth2.client.registration.adfs.client-id=
spring.security.oauth2.client.registration.adfs.client-secret=
spring.security.oauth2.client.registration.adfs.scope=openid
spring.security.oauth2.client.provider.adfs.issuer-uri=https://aaq4824.id.cyberark.cloud/project/
spring.security.oauth2.resourceserver.jwt.issuer-uri=https://aaq4824.id.cyberark.cloud/project/
spring.security.oauth2.client.registration.adfs.redirect-uri=https://projectURL/login/oauth2/code/adfs
spring.security.oauth2.client.provider.adfs.authorization-grant-type=authorization_code
spring.security.oauth2.client.provider.adfs.authorization-uri=https://aaq4824.id.cyberark.cloud/OAuth2/Authorize/project
spring.security.oauth2.client.provider.adfs.token-uri=https://abcsso.insideabc.com/OAuth2/Token/project
spring.security.oauth2.client.provider.adfs.jwk-set-uri=https://abcsso.insideabc.com/OAuth2/Keys/project
spring.security.oauth2.client.provider.adfs.user-info-authentication-method=query

After Login on cyber arc portal I am uable to procced to Jmix application.I get the follwing error.

Screenshot from 2023-07-12 20-46-46

I Have check the network call in browser, Authentication is succesfull and we are returned with a code.
But openid is uable to get access token from received code.

Response after login :
https://applicationURL/login/oauth2/code/adfs?state=WAqOs3ZtFffLhAvRo8-dLxUioHgoC_cFIoMhbU9q8kU=&responseType=code&code=eyxWwDhZ0SBz6c3zLe5qQwlSb5YVG6dIiCd_U507kMg1

When same flow is done from manually entering the Url in browser , We are able to use received code to get access token via postman API.

Thanks.