Connect Dokobit
Setting up Dokobit's Identity Gateway as the login provider of Oktul eID SSO, with its API access token, login methods, countries and page language.
Dokobit (opens in a new tab), a Signicat company, authenticates people through its Identity Gateway. Through Dokobit the app accepts Smart-ID, Mobile-ID, ID cards and eParaksts Mobile, for Estonia, Latvia and Lithuania. It is the provider that offers the Latvian and Lithuanian ID cards.
We have not yet tested the Latvian and Lithuanian ID cards or eParaksts Mobile ourselves. Try them in Dokobit’s sandbox before you rely on them.
The Identity Gateway is Dokobit’s own API. You register no client ID and no redirect URL, because the app sends the return address with each login.
What you need
- An Identity Gateway API access token from Dokobit. A sandbox token is requested with Dokobit’s developer token request (opens in a new tab). For production, get a production token after Dokobit’s integration review and contract.
- To know which login methods your token allows
In the app
- On the Login providers tab, select Add a provider and choose Dokobit
- Choose the Environment
Sandbox or Production. Dokobit issues a separate token for each.
- Tick the Login methods and the Countries
Smart-ID, Mobile-ID, ID-card and eParaksts Mobile; Estonia, Latvia and Lithuania. All are ticked for a new provider, and at least one of each is required.
- Choose the Page language
The user's browser language, or one language for every login.
- Enter the API access token, then select Save and connect
Atlassian's dialog names https://id-sandbox.dokobit.com for the sandbox, or https://id.dokobit.com for production.
Dokobit refuses the whole request when it lists a method the token does not allow. Every login then fails, not only logins with that method. If logins stop after you saved the form, untick the methods your token lacks.
The settings
| Setting | What it does |
|---|---|
| Environment | Sandbox calls id-sandbox.dokobit.com, Production id.dokobit.com. Changing it needs the other environment’s token |
| Login methods | Dokobit’s page offers only the ticked methods, and the app refuses a login made with any other |
| Countries | Dokobit’s country list shows only the ticked countries, and the app refuses a person from any other |
| Page language | The language of Dokobit’s page. With the browser’s language, a person whose browser prefers none of Dokobit’s languages sees Dokobit’s default |
| API access token | Write-only, like a client secret. See secrets are write-only |
What the app sends and reads
- To start a login, the app asks Dokobit for a session with the return address, the ticked methods and the ticked countries. It sends nothing about the person and prefills nothing.
- When the person returns, the app asks Dokobit for the session’s result and accepts it only for the session this login started. It reads the method, the country, the personal code and the time of authentication.
- The name, the surname and the certificate in Dokobit’s answer are never read.
- The token travels in the request address, as Dokobit’s API requires. The app’s logs show at most a host, never the address.
Dokobit reports no level of assurance. The methods you tick are the control.
What differs from the other providers
- Cancelling stays at Dokobit. A person who cancels sees Dokobit’s own message with a way to try again, and nothing returns to the app. The app’s Login cancelled page does not appear.
- The look of Dokobit’s page is Dokobit’s. According to Dokobit’s API documentation (opens in a new tab), it restyles the page with a CSS file and a logo it attaches to your token on request. The app’s text, logo and CSS do not reach it.
- The health check cannot test the token. It shows that Dokobit’s host is reachable and approved. Whether the token is valid shows at the first login.
Related
A problem or a question? Write to support@oktul.com or open a request in the Help Center (opens in a new tab).