Learn

Identity providers

The Identity providers page registers OpenID Connect providers used for two purposes:

  1. Token validation: require a valid bearer token (JWT) on an API route
  2. Route sign-in (SSO): let visitors sign in with their company account instead of a gateway account

Identity providers

Adding a provider

Go to Identity providers → Add a provider:

  1. Enter a name (e.g. entra, auth0, keycloak)
  2. Enter the issuer URL (e.g. https://login.microsoftonline.com/<tenant>/v2.0)
  3. Click Test — the gateway reads the discovery document and shows the signing keys it found
  4. Save

The gateway reads the signing keys immediately after saving and refreshes them every 6 hours. It also fetches new keys automatically when a token is signed with an unknown key (key rotation).

Microsoft Entra ID setup

  1. In the Entra admin center → App registrations → New registration:

    • Name: WAF Gateway
    • Accounts: Accounts in this organizational directory only
    • Redirect URI (for route sign-in): https://yoursite.example.com/.waf/access/callback (one per host name of the route)
    • Note the Application (client) ID and Directory (tenant) ID
  2. Under Certificates & secrets:

    • For route sign-in: add a client secret (enter its expiry date in the gateway — the dashboard will warn before it expires)
  3. For token validation: under Expose an API note the Application ID URI (e.g. api://shop)

  4. For group-based access (route sign-in): under Token configuration → Add groups claim (security groups) and note the group's Object ID

Secret expiry

If you enter the expiry date of a client secret, the dashboard shows a countdown from 30 days before it expires, and WAF Administrators with an e-mail address receive a warning 30, 14, 7 and 1 day before and on the day itself.

Enter the expiry date under the provider's Sign-in of websites section, next to the client secret field.