RH-SSO shows "Invalid parameter: redirect_uri", despite the Redirect URI has been already configured for the corresponding client

Solution Verified - Updated -

Issue

  • RH-SSO shows Invalid parameter: redirect_uri, despite the Redirect URI has been already configured for the corresponding client.

  • Generally the scenario is, when the Valid Redirect URIs in RH-SSO is setting a UPPERCASE hostname, the RH-SSO will throw the issue. The workaround is set the lowercase in hostname.

TRACE [org.keycloak.events] (default task-952) type=LOGIN_ERROR, realmId=xxxx, clientId=xxxx, userId=null, ipAddress=xx.xx.xx.xx, error=invalid_redirect_uri, redirect_uri=http://XXXX.xxx.com:8101, requestUri=https://xxx.xxx.com/auth/realms/xxxx/protocol/openid-connect/auth?client_id=pos-ubrtool-prod&redirect_uri=http://XXXX.xxx.com:8101&response_type=code&scope=openid, cookies=[AUTH_SESSION_ID_LEGACY=09139014-8b15-4165-b689-692b134e1548.xxxxxxx00183,

Environment

  • Red Hat Single Sign-On (RH-SSO)
    • 7.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