# Troubleshooting

> What a message from Oktul eID SSO means and what to do about it, for the people logging in and for the admins who run it.
>
> Documentation for Oktul eID SSO for Jira, for Jira Cloud, by Oktul: https://oktul.com/docs/plugins/eid-sso/troubleshooting/

Start with the app's **Health** tab: it names most causes. The pages a user sees name only the
kind of failure. The reason is in the **Log** tab, when you record refused logins.

## A user cannot log in

| The page says | Cause | What to do |
|---|---|---|
| *Account not found* | No user in the app holds this country and personal code | In Entra ID, check that the user is assigned to the app that feeds eID SSO, and that the identifier is mapped in the full form. Then **Provision on demand** |
| *Account not found*, for a user who is provisioned | The stored code differs from the one on the eID: a typing error, or the wrong country in front of the digits | Correct the code in Entra ID. The app stores a well-formed code as sent |
| *Account is not active* | The user is disabled or unassigned in Entra ID | Correct it in Entra ID |
| *Start the login again* | The login returned to a different browser, most often on a phone | Start again in the browser that should be logged in |
| *Login expired* | The login took more than 10 minutes, or its page was opened a second time | Start again from the Atlassian product |
| *Login cancelled* | The person cancelled, or the provider refused them | Try again |
| *This login method cannot be used* | The method gives no personal code, or reports a level of assurance below high | Use Smart-ID, Mobile-ID or an ID card. If a method you expect to work is refused, write to support |
| *Login failed*, for everyone | The provider's answer fails a check: for Signicat, see [its table](../signicat/#if-a-login-fails); for Custom OIDC, the claims or lists in its settings do not fit the provider | Correct the provider's settings |
| *Login failed*, for one login | The provider reused an earlier session, or the answer arrived too late | Try again |
| Atlassian's **Join your team** page | The login worked. The account has no access to the product | Grant access in Atlassian Administration |
| Atlassian asks for a password | The user is not on the policy that enforces single sign-on, or their domain is not linked to the directory | Check the authentication policy and the directory's domains |

## Every login fails

| The page says | Cause | What to do |
|---|---|---|
| *Login is not set up correctly* | No provider is used for login | Open a provider and select **Use for login** |
| | The provider's egress approval is missing or out of date | Select **Approve egress** in its row |
| | The Guard values are not saved | Save them on the **Atlassian Guard** tab |
| | The provider refuses the client: a wrong or replaced secret, or Signicat's public key not imported | Enter the current secret in the provider's row, or import the key at Signicat |
| | For one user only: the user has no `externalId` | Map `externalId` in Entra ID |
| | TARA through a relay: the relay refuses the app | Select **Check relay** in the TARA row, then see [run the token relay](../token-relay/#troubleshooting) |
| | TARA through a relay: TARA refuses the relay's credential | Read the relay's log. **Check relay** does not call TARA. See [run the token relay](../token-relay/#troubleshooting) |
| *The eID service is not available* | The provider is down or did not answer within 15 seconds | Check the provider's status. See [recovery](../recovery/#the-eid-provider-is-down) |
| | TARA through a relay: the relay is unreachable or has no URL | Select **Check relay** in the TARA row, then see [run the token relay](../token-relay/#troubleshooting) |
| | TARA through a relay: the relay cannot reach TARA | Read the relay's log. **Check relay** does not call TARA. See [run the token relay](../token-relay/#troubleshooting) |
| *Login is paused* | The app's licence is inactive | Renew the subscription. See [licensing](../install/#licensing-and-what-happens-when-it-lapses) |
| *Login request rejected* | The request does not name the service provider entity URL and assertion consumer service URL saved in the app | Copy both from Guard again |
| The provider shows an error of its own, before any eID step | The redirect URL is not registered at the provider, or the client ID is wrong | Register the redirect URL from the provider's row, and check the client ID |
| An error on Atlassian's side, after authenticating | Guard holds a certificate, Entity ID or SSO URL that differs from what the app uses now | Compare Guard's SAML settings with the **Atlassian Guard** tab |

## On the admin page

| You see | What to do |
|---|---|
| The page does not open, or says you lack permission | Only Jira admins can use it. The app checks the permission on every action |
| A banner above the tabs: *The licence is inactive* | The app starts no login until the subscription is renewed. The page itself keeps working |
| **Egress not approved** on a provider | Select **Approve egress**. If Atlassian's dialog was declined, the provider stays saved and off |
| **Egress not checked** | The approvals could not be read from Atlassian. Reload the page |
| **Egress approval out of date** | The provider's hosts changed. Approve them again |
| **Setup incomplete** | Enter the client secret or the API access token. For Signicat, save the settings again and import the new public key |
| *Already set up. Only one is allowed.* | One each of eeID, Signicat, Dokobit and TARA per installation. If the provider is not in the list, the **Health** tab may show it as unreadable, with **Remove** |
| A save of the login page is refused | The message names the field and the rule. See [style the login pages](../login-page/#custom-css) |
| A certificate change is refused | Another admin changed the certificates meanwhile, or there is nothing to switch to. Reload the page |
| *The relay does not work* | The message names the cause. See [the relay check](../tara/#the-relay-check) |

## Provisioning

| You see | What to do |
|---|---|
| Entra ID: **Test Connection** fails | Check the Tenant URL and the token. A replaced token has to be pasted again |
| Entra ID: `400 invalidValue` for a user | The identifier is not in the form `PNOEE-38001085718`. The digits alone are refused |
| Entra ID: `409 uniqueness` | Another user holds that user name, email, `externalId` or identifier |
| The **Health** tab: Entra ID has not used the token | Check that provisioning is started in the Entra ID enterprise app, and that users are assigned |
| A new user cannot log in yet | Entra ID has not sent them. Use **Provision on demand** |

<Aside type="note" title="What to put in a support request">
The time of the failed login, in UTC, the provider, and what the page said. Do not send a
personal code or a screenshot that shows one. We find the reason in the app's technical log,
which holds no personal code, email address or secret.
</Aside>

---

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).
