Enable automatic redirection

To configure automatic redirection:

  1. Open the WebSEAL configuration file for editing.

  2. Enable automatic redirection for each of the applicable authentication methods by uncommenting the entry for each method in the [enable-redirects] stanza:

      [enable-redirects]
      redirect = forms-auth
      redirect = basic-auth
      redirect = cert-auth
      redirect = ext-auth-interface
      redirect = oidc

    The example above enables automatic redirection for forms authentication, basic authentication, certificate authentication, and EAI authentication.

  3. Specify the URL to which the user is redirected after login. The URL can be expressed as either an absolute URL or a server-relative URL, with or without an embedded macro. For example:

    ...or...

    or:

  4. Stop and restart the WebSEAL server.

Parent topic: Automatic redirection after authentication