Why am I getting a IDENTITY_PROVIDER_LOGIN_ERROR with error=cookie_not_found in RH-SSO?

Solution Unverified - Updated -

Issue

  • We have integrated RH-SSO with external Identity Provider and at random we are observing following error in the logs
ERROR [org.keycloak.services.resources.IdentityBrokerService] (default task-4) unexpectedErrorHandlingRequestMessage: javax.ws.rs.WebApplicationException: HTTP 400 Bad Request
        at org.keycloak.keycloak-services@18.0.0.redhat-00001//org.keycloak.services.resources.IdentityBrokerService.parseSessionCode(IdentityBrokerService.java:1060)
        at org.keycloak.keycloak-services@18.0.0.redhat-00001//org.keycloak.services.resources.IdentityBrokerService.performLogin(IdentityBrokerService.java:373)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
...............
WARN  [org.keycloak.events] (default task-4) type=IDENTITY_PROVIDER_LOGIN_ERROR, realmId=broker, clientId=null, userId=null, ipAddress=xxx.xxx.xxx.xxx, error=cookie_not_found, identity_provider=oidc

Environment

  • Red Hat Single Sign-On (RH-SSO)
    • 7.6.x

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