Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Modify custom/templates.index to contain text the various templates

    Code Block
    christmas = templates/christmas.properties
    summer = templates/summer.properties


  2. Modify custom/templates/christmas.properties to contain settings for Christmas template

    Code Block
    oidc.display = page
    @LOGIN_TITLE_COLOR@ = red


  3. Modify custom/templates/summer.properties to contain settings for summer template

    Code Block
    oidc.display = touch
    @LOGIN_TITLE_COLOR@ = blue


  4. Set both template names in the "Template Names" field of the agent
  5. When creating an authentication request, specify the corresponding value in the display query string attribute. The following example will activate the "christmassummer" template and correspondingly any user interface text specified with that template name will be used.

    Code Block
    GET https://sso.example.com/uas/oauth2/authorization?response_type=code&scope=openid&client_id=2001221477&redirect_uri=https://client.example.com/response&state=40e1bfc0-4587-4859-be08-a58e3fffa37a&display=touch


...