How can I customize the RH-SSO login page's logic?

Solution Verified - Updated -

Issue

  • Currently we are on PicketLink with our IDPhas custom servlet to login ( via HTTP POST) to IBM WebSphere and SAP to get cookies and set cookies back to user's browser.
  • For more info we get cookie LTPA and LTPA2 from WebSphere and set cookies back to browser as LTPA and LTPA2.
  • We get cookie name SAPTicketCookie and set cookie back to browser as SAPTicket

  • Now, we need to move to RH SSO. So, I consider about 2 alternatives:

  1. If there is a way to custom RH SSO login page in the same way we did with IDP
  2. Host a custom login page then do HTTP POST to RH SSO Server
    (http:///auth/realms//protocol/openid-connect/token)
    get authorization_token, from respond JSON, do the rest of HTTP POST to get cookie, then set authorization header and cookies back to browser.

Environment

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

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.