Skip to main content

Identity provider health and client secrets

Axiad Mesh signs your users in through your identity providers (IdPs) using a client secret that you created in the IdP. When that secret expires, or is deleted or rotated in the IdP without being updated in Mesh, the IdP rejects Mesh and nobody can sign in through it.

To help you catch this early, Mesh checks each active IdP every 15 minutes and shows the result on the Identity providers page. You can replace a client secret there yourself, and Mesh tests the new secret before saving it.

Check the health of your identity providers​

  1. Select the gear icon to open Settings, then select Identity providers in the left-side menu.

  2. The Health column shows the result of the latest check for each IdP:

    HealthWhat it means
    HealthyThe latest check succeeded.
    FailingThe IdP rejected Mesh's client credentials, usually because the client secret is wrong, expired, or was deleted. Failing since shows when this started.
    UnknownThe last check couldn't get an answer from the IdP, for example because it couldn't be reached. Mesh tries again at the next check.
    Not checked yetThe IdP was added recently and hasn't been checked yet.

Identity providers page showing the Health column, with a Microsoft Entra ID secret that expires in 2 days highlighted in red

See when a client secret expires​

For Microsoft Entra ID, Mesh also shows when the client secret expires, for example Secret expires date (in 12 days).

  • The expiry is highlighted in amber when it's 14 days away or less, and in red when it's 3 days away or less.
  • Once the date passes, the IdP shows Secret expired.
  • Other identity providers show Expiry not available, because Mesh can't read their secret expiry.
Expiry date for Microsoft Entra ID

To read the expiry date, the app registration that Mesh uses to sign your users in needs the Microsoft Graph Application.Read.All application permission, with admin consent granted. This permission lets the app registration read all app registrations in your Microsoft Entra tenant, so review it with your security team before granting it. Without it, the IdP shows Expiry not available and a hint to grant the permission. Health checks work either way.

Replace a client secret​

Replace the secret in Mesh before the old one expires, or before you delete it in your IdP. That way your users are never locked out.

  1. In your IdP, create a new client secret and copy its value. For Microsoft Entra ID, see Generate a client secret. Keep the old secret for now.

  2. In Mesh, go to Settings > Identity providers.

  3. On the row of the IdP, select the three-dot menu, then select Replace secret.

    Identity providers page with the row menu open, showing Edit, Replace secret and Remove

  4. In the Replace secret dialog, paste the value into New client secret, then select Replace secret.

    Mesh checks the new secret with your IdP before saving it. If your IdP rejects it, nothing is changed. Check the value and try again.

    Replace secret dialog with the New client secret field

  5. When you see Secret replaced, sign-in uses the new secret within 5 minutes.

  6. Wait 5 minutes after Secret replaced appears. Then confirm that users can sign in, and delete the old secret in your IdP.

Only administrators can replace a secret. Each replacement is recorded in the audit log, but the secret itself never appears in it.

If nobody can sign in​

If an IdP rejects Mesh's client secret and it's your only way to sign in, users who try to sign in see this message:

Sign-in to Axiad Mesh is unavailable for your organization because its identity provider settings need updating. Please contact your administrator.

503 Service Unavailable page saying that sign-in is unavailable because the identity provider settings need updating

Because nobody in your organization can reach Settings, contact Axiad Customer Success for help restoring sign-in.

If your organization has a second identity provider that's still working, an administrator can sign in through it and replace the secret themselves.

Warning banner​

Administrators also see a banner at the top of Mesh when:

  • an identity provider is failing, shown in red;
  • a client secret has expired, shown in red;
  • a Microsoft Entra ID client secret expires within 14 days, shown in amber, and in red when it's 3 days away or less.

Select Replace secret in the banner to go to the Identity providers page. You can close an expiry warning with X; it comes back the next day. A failing identity provider's banner stays until the problem is fixed.

Banner at the top of Mesh saying the client secret for an identity provider expires in 9 days, with a Replace secret button

Email notifications​

Mesh sends an email when one of your identity providers starts failing, when it recovers, and when a Microsoft Entra ID client secret is 14 days and 3 days from expiry. Each email names the identity provider, says what happened, and links to your Identity providers page so you can replace the secret.

The email goes to the addresses on your organization's Alert emails list. Until you add any, it goes to the administrator email address on file: the address given when your organization was set up in Axiad Mesh.

Choose who receives alert emails​

  1. Go to Settings > Identity providers.
  2. Under Alert emails, enter the addresses that should receive alerts, one per line. You can add up to 10, for example a shared IT mailbox and the people who manage your identity provider.
  3. Select Save.

When no addresses are saved, alerts go to the administrator address on file, and the page names that address when Mesh has one. To go back to it, remove every address and select Save. Only administrators can change the list.

Alert emails section at the top of the Identity providers page, above the list of identity providers

Because the email doesn't depend on signing in, it still reaches these addresses when nobody in your organization can sign in to Mesh. If no addresses are saved and Mesh has no administrator address on file, no alert email is sent, so add at least one address to the list.