# Install the app

> Installing Oktul eID SSO on a Jira Cloud site, what it asks for, how to confirm it runs, and why it must not be uninstalled while Atlassian Guard uses it.
>
> Documentation for Oktul eID SSO for Jira, for Jira Cloud, by Oktul: https://oktul.com/docs/plugins/eid-sso/install/

<Aside type="caution">
Atlassian is reviewing the Oktul eID SSO listing, which usually takes around 10 business days.
The steps below work once the listing is public.
</Aside>

Install Oktul eID SSO on one Jira Cloud site. It is an Atlassian Forge app. Atlassian hosts and
runs it, and nothing is deployed to your infrastructure. How people log in changes only when
[Atlassian Guard](../atlassian-guard/) points at the app.

What leaves Atlassian, once you have set it up:

- **The app's requests to your eID provider**: its client credentials and the one-time values of
  each login. The provider's answer brings back the person's country and personal code.
- **TARA's token request, to your own relay**, if you use TARA through one.

The app reads no work items, pages or other content. Its only call to Jira asks whether the person
on its admin page is a Jira admin.

## Requirements

- Jira Cloud
- A site admin to install it, and a Jira admin to configure it
- Atlassian Guard Standard or Enterprise, Microsoft Entra ID and a service at an eID provider, for the
  [setup](../configure/) that follows

## Install it

1. **Open the Oktul eID SSO listing on the Atlassian Marketplace** Or, in Jira, Apps, then Explore more apps, and search for Oktul eID SSO.
2. **Choose your Jira site** Install it on the site whose admins are your organization admins. A site admin installs it; anyone else can request it.
3. **Approve the permissions** Atlassian shows what the app asks for. Each permission is explained in privacy and data handling.
4. **Open the admin page** Jira settings, Apps, Oktul eID SSO. It opens on the Health tab.

The app asks for two scopes, and for the right to let a Jira admin approve the hosts it may call. See
[privacy and data handling](../privacy/#6-permissions).

## Confirm it worked

| Where | What |
|---|---|
| Jira settings, under **Apps** | **Oktul eID SSO**, with an ID card as its icon. Only Jira admins can use it |
| Its **Health** tab | A list of what a login still needs: a provider, the Atlassian Guard settings and a SCIM token |
| The tabs beside it | **Login providers**, **Login page**, **Atlassian Guard**, **SCIM** and **Log** |

A new installation logs nobody in. Continue with [set up eID login](../configure/).

## One installation serves the organisation

Settings, approvals and users belong to one installation. Atlassian Guard has one identity
provider for your managed accounts. The installation on this one site handles the logins of
the whole organisation, to every product.

<Aside type="caution" title="Give Jira admin only to organization admins">
The app's admin page is open to every Jira admin of the site, and a Jira admin can decide whom
the app logs in. Before you set up single sign-on, check who holds the global permission
**Administer Jira**. See [security](../security/#a-jira-admin-controls-single-sign-on).
</Aside>

## Language

The admin page follows the admin's Atlassian language: Estonian for Estonian, English for every
other language. Times are in UTC in both.

The pages a user can see during a login, the provider chooser and the error pages, show Estonian
and English together, because the app cannot know a person's language before they log in. You can
replace the chooser's text with your own in any language. See [style the login pages](../login-page/).

## Licensing, and what happens when it lapses

Oktul eID SSO is licensed per installation through the Atlassian Marketplace. A running trial
counts as a licence.

<Aside type="caution" title="An inactive licence stops every eID login">
The app starts no login while its licence is inactive: after a trial that ended without a
purchase, or a subscription that ended or was cancelled. There is no grace period, and the app
gives no warning beforehand. Keep the subscription renewed, and the
[break-glass admins](../configure/#1-keep-two-admins-outside-single-sign-on) in place.
</Aside>

While the licence is inactive:

- **A user sees *Login is paused*** where the eID provider's page would open: *The Oktul eID SSO
  licence for this site has ended. Contact your administrator.* The person is not sent to the
  provider, and the provider has no authentication to charge for.
- **People who are already logged in keep working** until their Atlassian session ends. A login
  that had already reached the provider finishes.
- **The admin page says so on every tab.** A banner above the tabs reads *The licence is
  inactive*, and the **Health** tab lists **Licence** as a problem.
- **Entra ID keeps sending users.** The SCIM address works as before. When logins return, the
  app knows your current users.
- **The admin page keeps working.** Settings, users and the audit log stay as they are.

Logins work again as soon as the licence is active. A break-glass admin can log in to renew the
subscription, in Jira under **Apps**, **Manage apps**.

Only a licence Atlassian reports as inactive stops logins. A licence the app cannot read does
not.

## Removing the app

<Aside type="caution" title="Do not uninstall while Atlassian Guard points at the app">
- **Every eID login stops at once.** Users on a policy that enforces single sign-on cannot log
  in to any Atlassian product.
- **A reinstall is a new installation.** It has new addresses, a new signing certificate, no
  provider, no users and no SCIM token. Atlassian Guard, your eID provider and Entra ID all need
  the new values.
- **The same applies to a downgrade.**
</Aside>

To stop using the app, first move every user to an authentication policy without single sign-on,
then remove the SAML configuration from your Guard directory, then uninstall. Atlassian removes
the app's Forge storage as [privacy and data handling](../privacy/#8-data-portability-and-switching)
describes.

## Common questions

**Which permissions does Oktul eID SSO ask for?**

Two scopes: `storage:app`, for its own Forge storage, and `read:permission:jira`, to check that the person on its admin page is a Jira admin. It also asks to let an admin approve the hosts it may call, and names one remote, the token relay TARA needs.

**Can we install it on more than one site?**

Yes, and each installation has its own settings, addresses and users. One installation serves the whole organisation, because Atlassian Guard has one identity provider for your managed accounts.

**What does uninstalling do?**

It stops eID login for everyone on the single sign-on policy. The addresses Atlassian Guard and Entra ID use belong to the installation, and a reinstall gets new ones. See [recovery](../recovery/#the-app-was-uninstalled-or-reinstalled).

**What happens when the licence lapses?**

The app starts no eID login while its licence is inactive, and users see *Login is paused*. There is no grace period. Logins work again as soon as the licence is active, and break-glass admins can log in meanwhile. See [licensing](#licensing-and-what-happens-when-it-lapses).

**Which languages does the app support?**

The admin page is in English and Estonian, following the admin's Atlassian language. The pages a user sees during a login show Estonian and English together.

## Related

- [Set up eID login](../configure/)
- [Login providers](../providers/)
- [Recovery](../recovery/)
- [Privacy and data handling](../privacy/)

---

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