Inductive Automation Ignition is a supervisory control and data acquisition platform for industrial operations. Ignition 8.3 can delegate gateway sign-in to an external OpenID Connect identity provider, so operators and engineers use the same Agilicus AnyX identity, and the same multi-factor authentication, that protects the rest of the plant and enterprise applications.

This note builds that setup end to end: an application in the portal, an OpenID Connect client for Ignition, and the gateway configuration that ties them together. The screens come from a test organisation running Ignition 8.3.10. Substitute your own domain and identifiers.

What you need

  • A connector, online, on a network that can reach the Ignition gateway.
  • Ignition 8.3 or later. This example uses 8.3.10.
  • A hostname for the gateway that resolves through Agilicus, for example ignition.example.com.
  • Permission to create applications, and to read authentication clients, in the organisation.
  • A gateway administrator account for the initial configuration.

Create the application

In the portal, open Resources, then Applications, then New. Give the application the name users will see. The name also becomes the hostname, so choose a short, lowercase label. The upstream is the address of the Ignition gateway as the connector sees it; here the gateway runs on the same host as the connector and listens on port 8088, with plain HTTP on the local hop.

Choose the onsite connector, then the upstream host and port. The connector reaches the gateway over the private network; the browser never does.

Let Ignition handle the authentication

Choose participates in authentication so the portal does not put its own sign-in page in front of the gateway. Select OpenID Connect, then enter the callback that Ignition will use. Ignition builds its callback from the gateway’s public address and the fixed path /data/federate/callback/oidc, so the value here is https://ignition.example.com/data/federate/callback/oidc.

Then decide who may use the application. Allowing every user in the organisation is the simplest choice, and an internal gateway is usually exactly that case. Named users with roles work the same way.

Review and apply

The portal summarises the definition before it creates anything. The redirect address appears in the summary, which is a quick way to catch a typo before it becomes a silent failure at sign-in time.

Collect the client id and secret

Open Resources, then Applications, then Authentication Clients. The portal has created a client named after the application, and the secret is printed on the card. Ignition needs both: the id identifies the client, and the secret lets it ask AnyX to authenticate a user. The secret is redacted in the figure; treat yours as a credential and keep it out of source control.

Configure Ignition

Log in to the gateway as an administrator, then open Platform, Security, Identity Providers, and choose Create Identity Provider. Select OpenID Connect 1.0.

Import the provider metadata from the discovery document at https://auth.example.com/.well-known/openid-configuration, where auth.example.com is the issuer of your Agilicus organisation. Importing fills the authorisation, token, key and user information endpoints. If the import cannot reach the issuer, enter the same values by hand from the discovery document.

Enter the client id and secret from the authentication client. Add the scopes openid, profile and email. Set the issuer to exactly the issuer in the discovery document; a trailing slash that does not match is enough to break validation.

Set the system identity provider

On Platform, Security, General Settings, set System Identity Provider to the new provider. That sends the gateway login page through AnyX instead of the internal user source.

Map the user attributes

Open the provider’s menu and choose User Attribute Mapping. Map the username to preferred_username and the email to email. Without the mapping, Ignition names every user after the provider and the audit trail loses the operator’s address.

Trust a private certificate authority

On a private certificate authority, put the issuer’s root and intermediate certificates in data/certificates/supplemental and restart the gateway. Ignition uses that directory for outbound client connections, so it trusts the issuer’s transport layer security chain.

Sign in

Before you hand the gateway to users, use Test Login on the provider. It completes the OpenID Connect exchange and shows the claims Ignition received. Check that the issuer, audience, email and preferred_username are present, and that any group you plan to use for authorisation is there too.

Open the gateway address. The login page redirects to your Agilicus organisation. If the browser already holds an Agilicus session the round trip is silent; otherwise AnyX asks for sign-in and any second factor your policy requires, then returns the user to the gateway. The first screen is the gateway home page, with the signed-in Agilicus address in the header.

Run Ignition in a container

The gateway is a stateful Java service. Run it with a persistent volume and set the public address and ports so Ignition builds a callback the browser can reach. The connector forwards plain HTTP to port 8088; AnyX terminates transport layer security.

docker run -d --name ignition \
  -p 8088:8088 \
  -e ACCEPT_IGNITION_EULA=Y \
  -e GATEWAY_ADMIN_USERNAME=admin \
  -e GATEWAY_ADMIN_PASSWORD=change-me \
  -e IGNITION_EDITION=standard \
  -v ignition-data:/usr/local/bin/ignition/data \
  inductiveautomation/ignition:8.3.10 \
  -n ignition \
  -a ignition.example.com -h 80 -s 443 \
  -- gateway.useProxyForwardedHeader=true
SettingWhat it does
EULAACCEPT_IGNITION_EULA=Y accepts the Inductive Automation licence agreement on first start.
Admin credentialsGATEWAY_ADMIN_USERNAME and GATEWAY_ADMIN_PASSWORD seed the initial administrator. Changing them later does not reset a password.
EditionIGNITION_EDITION selects standard, edge or maker.
Public address-a ignition.example.com -h 80 -s 443 sets the public hostname and ports. Ignition uses them to build the callback, and all three must be supplied together.
Forwarded headersgateway.useProxyForwardedHeader=true honours the forwarded protocol and host from AnyX.
Data volume-v ignition-data holds the database, projects and certificates. Back it up as one unit.

A named volume keeps the gateway state across container replacements. If you use a bind mount instead, make it writable by the ignition user (user identifier 2003); an empty bind mount hides the files that first-start commissioning expects.

Operational notes

  • Security levels and roles still apply. Ignition grants the Authenticated level to any user who signs in. Map AnyX groups to Ignition roles if you need finer authorisation, and add security level rules for the gateway and projects.
  • The Designer has its own authentication strategy. Set Designer Authentication Strategy to Identity Provider if you want the same single sign-on in the Designer; the Classic strategy keeps the embedded login form.
  • The redirect URI must use the public hostname and https. A gateway configured with its internal address will send users to a callback they cannot reach.
  • Keep the gateway clock synchronised. OpenID Connect tokens are short lived, and a clock skew of a few minutes fails the exchange.
  • The data directory holds the database, projects and certificates. Back it up as one unit.

If it does not work

  • Import failed. The gateway cannot reach the issuer, or it does not trust the certificate chain. Check name resolution and outbound transport layer security from the gateway host, and put a private root and intermediate in data/certificates/supplemental before restarting. Entering the endpoints by hand avoids the import step.
  • Redirected to AnyX, then back to the gateway login. The redirect URI in the application does not match the callback Ignition builds. It must be https://<public host>/data/federate/callback/oidc, with no trailing slash and the same host the browser uses.
  • Signed in, but the gateway says the user has no access. The user reached Ignition but has no security level or role. Grant the Authenticated level, or map the AnyX group to an Ignition role and add a security level rule.
  • Every user appears as the provider name. User attribute mapping is not set. Map the username to preferred_username and the email to email.
  • The gateway login still shows the internal form. System Identity Provider is still the internal source. Set it to the new provider and save.

The gateway settings follow the Configuring Identity Providers page and the OpenID Connect 1.0 example. For the container options, see the Ignition Docker image page. For more worked examples, see the Vaultwarden example, the Authentication Clients guide and the Ignition Perspective single sign-on example.