Getting started
Documentation
On this page
Before you install the plugin in Keycloak, you create an account in the Okivo portal and one entry per Keycloak realm. For each realm you get the credentials your Keycloak uses to talk to the push service.
Requirements
- Keycloak 26.x, self-hosted (container, package or Kubernetes).
- Access to the Keycloak
providersfolder and the admin console. - Outbound HTTPS from Keycloak to
gateway.okivo.app(port 443). That is the push service. - The Okivo app must reach your Keycloak at the same public address your users sign in with in the browser. The app fetches the details of a sign-in directly from there.
- A phone with the Okivo app, because you secure your portal account with Okivo yourself.
Create a portal account
- Open okivo.app and sign up. Sign-in runs through
id.okivo.app, Okivo's own Keycloak. - On your first visit you set up your account (company details).
- As long as you have no realm, your password is enough. Before your first realm, the portal asks you to set up Okivo for your own account: scan the QR code with the Okivo app. From then on you approve every portal sign-in by push. That way you get to know the app right away.
Tip: Afterwards, create recovery codes in the portal under Settings. They get you into the portal if your phone is lost or a push doesn't arrive.
Create a realm and get the credentials
In the portal, under Realms, create an entry for every Keycloak realm that should use Okivo. Ideally use the realm's name in Keycloak. Create credentials gives you three values:
| Value | Used for |
|---|---|
| Relay Base URL | Address of the push service (https://gateway.okivo.app) |
| Tenant ID | ID of this realm at the push service |
| Tenant API Key | Secret key your Keycloak uses to send pushes (starts with pmfa_) |

You see the API key only once. Copy it straight into the Keycloak vault (see Enter the credentials). If you lose it, create a new one in the portal with Renew key. The old key stops working immediately, so enter the new one in Keycloak right away.
If you like, upload the logo the app shows next to the account for this realm in the portal (see Display name and logo).
Continue with Install the Keycloak plugin.
Plans and user limit
Plans and prices are listed at okivo.app/en/pricing. In practice:
- We count registered users, not devices and not sign-ins. A user counts as soon as they have set up at least one device. A second device for the same user is always allowed.
- The limit applies to all realms of your account together. How many realms you can create also depends on the plan.
- Plans never block existing logins. If the limit is reached or you move to a smaller plan, all users who are already set up keep signing in. Only setting up new users is blocked: instead of the QR code they see a note that the user limit has been reached.
- Some features depend on the plan, currently RADIUS/VPN (FreeRADIUS, pfSense) and location and risk (map, risk hints). If your plan lacks a feature, push sign-in is not affected; only that extra feature is unavailable.
- Paying: by card (including Apple Pay and Google Pay) or SEPA direct debit. Enter a voucher code when ordering or changing plans; the summary shows the discount and how long it applies.
- You can see the current state in the portal under Plan and usage (“x of y registered users”). From 80 % on, the portal points this out.
- Freeing up a seat: when you delete a user in Keycloak, the plugin deregisters their devices at the push service and the seat is free again. If a user only removes their device, they keep counting until you delete them in Keycloak.
The push service checks the user limit immediately at every setup. The plugin polls the enabled features regularly; a change takes effect within about 15 minutes. If the push service is briefly unreachable, the plugin keeps working with the last known state for up to 24 hours.
Export your data and switch
You can take your data with you at any time, free of charge and without asking us: in the portal under Settings → Your data. This also applies after cancelling, as long as your account exists.
| In the export | Contents |
|---|---|
export.json |
Account (email, company, country, timestamps), plan, subscription status, all realms with tenant ID, name and their state at the push service: user limit, number of registered users and devices, features. UTF-8, JSON, times in UTC. |
logos/ |
The uploaded logos, unchanged as PNG or JPEG. |
LIESMICH.txt |
Description of all fields and the format version (in German). |
What is not included isn't stored at Okivo:
- Users, devices and sign-ins live in your own Keycloak. You export them there (realm export or admin
API). A user's Okivo device is a credential of type
push-mfa. - API keys are not stored in plain text.
- Invoices you download in the portal under Billing.
If you switch to a different method, remove the “Push MFA” step from your login flow; your users then sign in with whatever you set up instead. The keys in the app deliberately can't be exported; they only work for Okivo. If you then delete your realms in the portal, the push service removes all related device entries.