Error on redirecting to Pega during authentication
OAuth 2.0 authentication is used to authenticate with an external application with Grant Type as Authorization Code. The Callback (Redirect) URL that Pega generates is configured on the external application. However, error displays on the browser on redirecting to Pega during the authentication.
Caused by: pub.PRRuntimeException: Unable to obtain access token for client details in authentication profile
configured. Please check the logs for more details.
Caused by: pub.PRRuntimeException: Access token endpoint invocation failed : Response status : 400 Bad Request
Steps to Reproduce
- Configure the OAuth2.0 authentication profile rule on the external system with the Grant Type as Authorization Code
- Provide secret, scope and redirect endpoint to the identifier
The external system required scope. However, Pega did not send it when Grant Type was Authorization Code
0% found this useful