# Oktul eID SSO for Jira

> Log in to Jira and the rest of Atlassian Cloud with Smart-ID, Mobile-ID or an ID card, through Atlassian Guard and an eID provider you choose.
>
> Documentation for Oktul eID SSO for Jira, for Jira Cloud, by Oktul: https://oktul.com/docs/plugins/eid-sso/

Oktul eID SSO for Jira logs people in to Atlassian Cloud with their national eID:

1. A person enters their work email at Atlassian's login, and Atlassian Guard sends them to the app.
2. The app sends them to your eID provider, where they authenticate with Smart-ID, Mobile-ID or
   an ID card.
3. The app finds the one active user who holds the personal code from the eID, and signs them in
   to Atlassian with that user's email address.

The app is installed on one Jira site and runs on Atlassian Forge. Single sign-on in Atlassian
Guard applies to your whole organisation. The same login opens Confluence and every other
Atlassian Cloud product the user has.

## How it fits together

| Part | Whose it is | What it does |
|---|---|---|
| **Atlassian Guard** | Your Atlassian organisation | Sends logins from your verified domain to the app as SAML requests, and accepts the app's signed answer |
| **Oktul eID SSO** | Hosted by Atlassian, on Forge | The SAML identity provider, the SCIM address that receives your users, and an admin page in Jira |
| **An eID provider** | Your own contract: eeID, Signicat, Dokobit, TARA or another OpenID Connect provider | Authenticates the person and reports their country and personal code |
| **Microsoft Entra ID** | Your tenant | The source of users. It sends each user's email, permanent ID, active flag and personal code to the app by SCIM |

## What it does

- **Logs in with an eID.** Smart-ID, Mobile-ID, an ID card and eParaksts Mobile, depending on the
  [provider](./providers/) you connect.
- **Matches a person by country and personal code**, written `PNOEE-38001085718`: the letters
  `PNO`, the country, a hyphen and the code. A login succeeds only when exactly one active user
  holds that identifier.
- **Asks for a new authentication every time.** A session left at the provider by an earlier
  login is refused.
- **Uses several providers at once**, if you want. Users then pick one on a short page that
  remembers their last choice.
- **Calls only hosts you approve.** The app's manifest names no provider host. A Jira admin
  approves each provider's host in Atlassian's own dialog, and can withdraw the approval.
- **Checks its own setup.** The [health check](./health-check/) runs each time the admin page
  opens, and an [audit log](./audit-log/) records the kinds of event you turn on.
- **Replaces its signing certificate** without a reinstall. See
  [replace the signing certificate](./signing-certificate/).

The admin page is in English and Estonian. The pages a user can see during a login show
Estonian and English together.

## What it does not do

- **It does not create Atlassian accounts or grant product access.** Atlassian's own user
  provisioning does that. A user who logs in without access to Jira lands on Atlassian's
  **Join your team** page.
- **It does not work without Atlassian Guard and a SCIM source.** The app knows a person only
  through the users Entra ID sends it.
- **One Guard directory and one SCIM source per installation.** Jira Service Management
  portal-only customers are not served.
- **Only Estonian, Latvian and Lithuanian personal codes.** A login with any other country's
  eID is refused.
- **It does not carry the Runs on Atlassian badge**, because it connects to your eID provider.
- **Its data does not follow your site's data residency.** Atlassian keeps the app's storage in
  its Global location. See [privacy and data handling](./privacy/#4-where-the-data-is-stored).
- **Cloud only.** There is no Data Center version.

<Aside type="caution" title="Everyone on the single sign-on policy depends on the app">
If the app, your eID provider or Atlassian Forge stops working, nobody whose authentication policy
enforces single sign-on can log in to any Atlassian product. The same holds while the app's
[licence is inactive](./install/#licensing-and-what-happens-when-it-lapses). Set up
[two admins outside single sign-on](./configure/#1-keep-two-admins-outside-single-sign-on) before
anything else.
</Aside>

<Aside type="caution" title="A Jira admin controls single sign-on">
Whoever is a Jira admin on the site can configure the app, and so can log in as any user on the
single sign-on policy. Give Jira admin only to your organization admins. See
[security](./security/#a-jira-admin-controls-single-sign-on).
</Aside>

## The admin page

Everything the app lets you set is on one page: **Jira settings**, **Apps**, **Oktul eID SSO**.
Only Jira admins can open it. It has six tabs, and opens on the first.

| Tab | What is on it | Described in |
|---|---|---|
| **Health** | A one-line summary, then a table of checks, each **OK**, **Warning** or **Problem** | [Health check](./health-check/) |
| **Login providers** | **Add a provider**, then one row per provider. A row opens to its redirect URL, its settings and its egress approval | [Login providers](./providers/) |
| **Login page** | The chooser's heading and text, a logo and custom CSS | [Style the login pages](./login-page/) |
| **Atlassian Guard** | Three values to copy into Guard, two fields for the values Guard shows back, and the signing certificate | [Connect Atlassian Guard](./atlassian-guard/) |
| **SCIM** | The Tenant URL, the SCIM token and the form of the personal code | [Provision users from Entra ID](./entra-provisioning/#the-scim-tab) |
| **Log** | Five switches for what to record, the recorded events and the CSV export | [Audit log](./audit-log/) |

A value you copy out, such as an address, a certificate or a token, sits in a block of its own
under its label. Under the tabs, **Help and support** opens the Help Center.

## Before you start

- **Atlassian Guard Standard or Enterprise** on your organisation, and a **verified domain** for your users'
  email addresses
- **Microsoft Entra ID**, holding each user's personal code
- **A service at an eID provider**, with the credentials it issued
- **Jira Cloud**, and a Jira admin to configure the app

## Common questions

**Can people log in to Jira Cloud with Smart-ID, Mobile-ID or an ID card?**

Yes, with Oktul eID SSO for Jira and Atlassian Guard. The app is the SAML identity provider of your Guard directory and hands the authentication to the eID provider you connect: eeID, Signicat, Dokobit, TARA or another OpenID Connect provider.

**Does eID login cover Confluence too?**

Yes. Single sign-on in Atlassian Guard applies to the whole organisation. Everyone on the single sign-on policy logs in to every Atlassian Cloud product through the app, which is installed on one Jira site.

**Which countries' eIDs does it accept?**

Estonia, Latvia and Lithuania. The app matches a person by country and personal code and reads the codes of those three countries.

**Do we need our own server?**

No. The app runs on Atlassian Forge. The one exception is TARA's live service, which needs a small relay on a host of yours with a static IP address. See [run the token relay](./token-relay/).

**Does it work with Jira Data Center?**

No. Oktul eID SSO runs on Atlassian Forge, for Atlassian Cloud only.

## Where to start

| If you are | Start with |
|---|---|
| The admin installing it | [Install the app](./install/), then [set up eID login](./configure/) |
| Choosing an eID provider | [Login providers](./providers/) |
| The Entra ID admin | [Provision users from Entra ID](./entra-provisioning/) |
| The organization admin for Atlassian Guard | [Connect Atlassian Guard](./atlassian-guard/) |
| Asked to log in with eID | [What a user sees](./logging-in/) |
| Running it day to day | [Health check](./health-check/), [audit log](./audit-log/) and [recovery](./recovery/) |
| Reviewing it for security or procurement | [Security](./security/) and [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).
