Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-11332

OpenAM to support passing a lang and/or locale parameter in the SAML redirect both with spSSOInit.jsp as well as the SAML2 authentication Module.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: SAML
    • Labels:

      Description

      OpenAM to support passing a lang and/or locale parameter in the SAML redirect (both with spSSOInit.jsp as well as the SAML2 authentication Module. See ticket: https://forgerock.zendesk.com/agent/tickets/21812

      How the ticket was opened......

      I use the SAML2 authentication module to performa SP initiated SSO redirect to a external IDP.

      During this redirect I need to pass a language parameter as part of the URL.

      My initial take was to modify the spSSOInit.jsp file to add a language parameter, But the SAML2 authentication module seems to perform the redirect using the json/authenticate endpoint rather than spSSOInit.jsp.

      My authentication endpoint is : https://sp.example.com/sso/json/realms/root/realms/subrealm/authenticate?service=authenticationService&lang=fra&locale=fr&authIndexType=service&authIndexValue=authenticationService

      Notice that I pass a lang=fra parameter with this request.

      this URL then performs a post operation to the following endpoint :

      https://sp.example.com/sso/json/realms/root/realms/subrealm/authenticate?service=authenticationService&lang=fra&locale=fr&authIndexType=service&authIndexValue=authenticationService]

      notice that this url also has the lang=fra parameter, and this initiates a SAML request to the IDP. however in this redirect to the IDP, the lang=fra parameter gets completely dropped.

      How do i go about adding the lang=fra parameter to the redirect to the IDP. (modifying the soSSOInit.jsp file does not seem to take effect)

      Why do you want to do this?
      ===========================
      to enable multi language support indicators to the external IDP.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              robert.faller Robert Faller
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: