keycloak - CODE_TO_TOKEN_ERROR after user is authenticated : <p>I am working with the nodeJS keycloak adapter and so far have my client application redirecting to the keycloak login.</p>

<p>When attempting to login, I get an error in the keycloak logs as follows:</p>

<blockquote>
  <p>12:07:12,341 WARN  [org.keycloak.events] (default task-30)
  type=CODE_TO_TOKEN_ERROR, realmId=myrealm, clientId=client-test,
  userId=xxx, ipAddress=xxx.xxx.xxx.xx,
  error=invalid_code, grant_type=authorization_code,
  code_id=xxx,
  client_auth_method=client-secret</p>
</blockquote>

<p>The error message sent back to my express application reads as 'Could not obtain grant code'.</p>

<p>Can someone shed some light on what this means exactly? I can only think I have configured something incorrectly in my realm\client\user settings.</p>

<p>Thanks</p>
