Getting a CODE_TO_TOKEN_ERROR in SSO while authenticating a PHP based application

Solution Unverified - Updated -

Issue

The Web browser loading the application page after user authentication in RH-SSO returned a HTTP 500 Internal Server Error.

In RH-SSO server.log, we can see the following:

2020-06-29 08:46:25,931 WARN  [org.keycloak.events] (default task-376) type=CODE_TO_TOKEN_ERROR, realmId=<realm>, clientId=<client>, userId=null, ipAddress=<client-ip>, error=invalid_code, grant_type=authorization_code, code_id=c62f491a-667b-476b-83d8-69d9e9469e43, client_auth_method=client-secret ...

Environment

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content