Redirecting to IDP's log-in page instead of default "Unexpected error when authenticating with identity provider" error page

Solution Verified - Updated -

Issue

Unexpected authentication errors with the identity provider can disrupt user experience, particularly when users encounter Red Hat's error page stating:

"We are sorry ... Unexpected error when authenticating with identity provider."

In this instance, the customer wishes to bypass this error page and be redirected directly to the Identity Provider's login page.

  • How to skip default login page of keycloak and directly routed to third party IDP page ?

Environment

  • Red Hat Single Sign-On(RH-SSO)
    • 7.6.x
  • Red Hat build of Keycloak
    • 26

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