# Health check

> What the Health tab of Oktul eID SSO checks each time it opens, what each result means, and what to do about a warning or a problem.
>
> Documentation for Oktul eID SSO for Jira, for Jira Cloud, by Oktul: https://oktul.com/docs/plugins/eid-sso/health-check/

The **Health** tab checks everything an eID login depends on. It runs when the admin page opens,
each time the tab is selected, and with **Check again**.

A summary comes first: *Everything a login needs is in place*, *Logins work*, with the number of
things to look at, or the number of *problems that can stop eID logins*. Under it, a table with
the columns **Status**, **Check** and **Details** lists each check, worst first. The status is
**OK**, **Warning** or **Problem**, and **Details** says in a sentence what the check found.

While the licence is inactive, a red banner above the tabs, *The licence is inactive*, shows on
every tab.

## The checks

| Check | A problem or warning means | What to do |
|---|---|---|
| **Licence** | Listed only while the app's licence is inactive. The app then starts no login | Renew the subscription. Logins work again as soon as the licence is active, and SCIM keeps working meanwhile. See [licensing](../install/#licensing-and-what-happens-when-it-lapses) |
| **Login providers in use** | No provider is configured, or none is used for login. Every eID login fails | Add one under **Login providers**, or open one and select **Use for login** |
| **Each provider** | See the table below | |
| **Atlassian Guard settings** | The two values Guard shows are not saved. The app refuses every login | Enter them on the [Atlassian Guard](../atlassian-guard/#2-copy-back-what-guard-shows) tab |
| **SSO URL in Guard** | The app's address changed since Guard was set up, for example after a reinstall. Guard sends users to the old one | Enter the Entity ID and SSO URL from the **Atlassian Guard** tab in Guard, then save the Guard settings in the app again |
| **SAML signing certificate** | It expires within 90 days, or has expired | [Replace the signing certificate](../signing-certificate/) |
| **SCIM provisioning from Entra ID** | No token exists, Entra ID has never used the token, or has not used it for two days | Generate a token on the **SCIM** tab, or check the Tenant URL, the token and that provisioning is on in Entra ID |

## A provider's line

For each provider the check fetches what a login would fetch: the provider's discovery document
and its signing keys. It sends no secret.

| Details | Meaning | What to do |
|---|---|---|
| *Discovery and signing keys reachable. Egress is approved.* | The provider answers, and the app may call it | Nothing |
| *Forge blocked the call* | The egress approval is missing or out of date | Select **Approve egress** in the provider's row |
| *The provider did not answer or answered with an error* | The provider may be down | Check its status page, then **Check again** |
| *The provider did not answer within 18 seconds* | The provider, or the token relay, is down or overloaded | Check the provider's status page and, for TARA, the relay |
| *The provider does not match its settings* | The discovery document does not fit the issuer, the hosts or the algorithms the provider was saved with | Correct the provider's settings |
| *No client secret is stored*, or *No signing key is stored* | The provider cannot authenticate to the eID service | Enter the secret, or save Signicat's settings again and import the new public key |
| *Token relay*, for TARA through a relay | The result of the [relay check](../tara/#the-relay-check) | As the message says |

A problem with a provider that is used for login is a **Problem**. The same finding on a provider
that is not used for login is a **Warning**.

<Aside type="note" title="What the check cannot see">
The check does not log anyone in. A wrong client secret, a Dokobit token Dokobit refuses, a
redirect URL not registered at the provider and a public key not imported at Signicat show only
at a login.
</Aside>

## An unreadable provider

A provider whose stored settings this version of the app cannot read is listed as a warning,
named by its id, with a **Remove** button. Logins skip it, and the **Login providers** tab does
not show it. Remove it here, on the Health tab. The app never removes it by itself, and until it is
removed, its type cannot be added again.

## The SCIM token's last use

The app notes when Entra ID last used the token, at most every 10 minutes. A token that was never
used, or not for two days, is a warning: check that provisioning is running in the Entra ID
enterprise app.

## Related

- [Recovery](../recovery/)
- [Troubleshooting](../troubleshooting/)
- [Login providers](../providers/)

---

A problem or a question? Write to [support@oktul.com](mailto:support@oktul.com) or open a request in the [Help Center](https://support.oktul.com).
