Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-3790

Allow parameterisation of the URL for login used by the OpenID server

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • 2.8.0-OD-11, 2.8
    • OpenID
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      By specifying the application.login.url.template property, you can allow parameters set by the RP to appear in the URL to which users are redirected to authenticate, using the OpenID 2.0 extension NS https://developer.atlassian.com/display/CROWDDEV/CrowdID+OpenID+extensions#CrowdIDOpenIDextensions-login-page-parameters.

      For example, if CrowdID configuration includes

      application.login.url.template=http://some.service.example/login?key=${key}
      

      and if an OpenID checkid_setup request is received which includes parameters

      openid.ns.ext1=https://developer.atlassian.com/display/CROWDDEV/CrowdID+OpenID+extensions#CrowdIDOpenIDextensions-login-page-parameters
      openid.ext1.key=value
      

      Then users requiring authentication will be redirected to http://some.service.example/login?key=value.

      The key names specified in application.login.url.template may not contain ‘}’ but are otherwise unrestricted. Values are replaced having been escaped suitably for use as query parameter values. Parameters absent in the OpenID request are replaced with empty strings.

      It should be remembered that the values replaced in the login URL template are controlled by the (potentially external) relaying parties and as not necessarily to be trusted.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              hgiddens Hugh Giddens (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: