Configure OAuth redirect with automatic form submit

Configure the OpenId Connect service to perform an automatic form submit redirect at authentication request.

By default, the OpenID Connect service redirects the user-agent with an HTTP 302 response. In some cases the user agent or IdP requires the authentication redirect method to be performed via an HTML submit form.

You do this configuration in the configuration file located in $FGLDIR/web_utilities/services/openid-connect/res.

Locate the entry oidc.authenticate.redirect in the configuration file.
Specify the required value, allowed values are:
  1. oidc.authenticate.redirect = "302": (default) perform an HTTP redirection (recommended way)
  2. oidc.authenticate.redirect = "GET": an automatic HTML form submit with the GET method is performed by the user agent webview to send the authentication request.
  3. oidc.authenticate.redirect = "POST": an automatic HTML form submit with the POST method is performed by the user agent webview to send the authentication request.