Ir al contenido

Provider health alerts

MFA is on the sign-in path. An enabled provider that cannot work silently breaks sign-in for everyone enrolled with it. OkYouIn therefore checks every enabled provider regularly and opens an alert when one is unhealthy.

ProviderHealthy when
OkYouIn web app push (Web Push)The server has a usable secure public address (HTTPS, a host name) and a VAPID key pair.
Email OTPSMTP is enabled and configured.
TelegramThe bot’s delivery (polling or webhook) is running and reporting no error.
TOTPAlways — it depends on nothing outside the server.

The checks look at OkYouIn’s own configuration and services; they make no network calls to the providers. Problems at send time are caught separately — for example, a mail server that refuses messages raises its own e-mail delivery alert.

  • One alert per provider, severity error, titled with the provider’s name and saying what is wrong, with a link to where it can be fixed (the MFA settings, or the Workers page for Telegram delivery).
  • A problem must last 3 minutes before the alert opens, so a Telegram poll that fails once and retries, or a service restarting, does not wake anyone up.
  • Recovery resolves the alert at once. Disabling the provider also resolves it.
  • In a cluster each node checks itself: the web app push depends on the node’s own public address.

The check runs every 90 seconds as the background job MFA provider health alerts (Settings ▸ System ▸ Workers). It is part of the alert engine and stops when alerts are switched off. Where alerts are delivered — e-mail, syslog and so on — is described in Alerts.

  • Disabling a provider on purpose is not an outage: the console asks first and lists the enrolled users, who will need another method.
  • Microsoft Entra ID client secret expiry has its own alert — see Microsoft Entra ID.
  • Push flood alerts are per user, not per provider — see Brute-force protection.
  • The Access log shows individual failed deliveries and timeouts.