Identity and access management

Lucca to Okta integration: Okta users from employments and job positions in Lucca

With an integration between Lucca and Okta, every new employee in Lucca gets an Okta user with job title, department, entity and manager, and the status in Okta follows the employment in Lucca. A colleague with a future employment is staged in Okta, on the start date the user is activated and after the last employment it is deactivated.

Lucca logoSourceLuccaA new or changed employment or a changed employee in Lucca
KoppelHetYour rules, set per field
Okta logoTargetOkta
  • Okta user with name, login and work email
  • Job title, department and entity
  • Manager
  • Staging, activation and deactivation

How it works

Design, platform and support in one place

For Lucca and Okta: a tailored integration, on our own platform, that we keep managing after go-live.

Design

Set per field before we build

Which data goes where, when, and what happens with exceptions. You approve the design; the quote follows from it.

More on how we work
Lucca logoOkta logo
Detailed designWhat is transferred
  • id (employee)→ externalId of koppeltabel
  • givenName, familyName→ firstName, lastName
  • Naamgevingsregel→ login en email
  • employeeNumber→ employeeNumber

Platform

Every run visible, every error reported

Per integration and per employee you see what was processed. If something goes wrong, you get an alert with the reason.

More about the platform
HistoryLucca → Okta
Example
  • 09:003 changesOK
  • 08:00No changesOK
  • 05:00Alert with explanationResolved

Support

We keep it running

We handle vendor API changes. The people who built the integration also answer your questions.

Trust Center
ISO 27001
Support after go-liveOne team to turn to
  • 24/7 monitoring
  • API changes handled
  • Hosting in Amsterdam

The project

From first conversation to ongoing support

An integration starts from your HR process, not the API. We only build after you approve the design, and you choose the go-live moment.

The project in ten steps

  1. Step 1IntakeQuestions a consultant has prepared for your systems.
  2. Step 2Detailed designField by field what happens, with exceptions and test scenarios.
  3. Step 3Approval and quoteYou approve the design; the quote follows from it.
  4. Step 4Build and testOn our platform, then your acceptance test.
  5. Step 5Go-live and supportAt a moment you choose. After that we monitor it.

What the integration does

Organisations that use Lucca for HR and Okta as their identity provider often get new colleagues by email from HR. IT then creates the Okta user by hand and sometimes only hears of a departure when someone hands in their laptop.

  1. The Lucca administrator creates an API key with read rights on employees and employments and write rights on employees; Okta gets a service app with rights on users.
  2. Lucca reports a new or changed employee or employment; KoppelHet fetches the employee with employment, job position and department in one request.
  3. An employee with status upcoming becomes a staged Okta user; KoppelHet writes the Okta ID into Lucca.
  4. On the start date the status becomes active and KoppelHet activates the user.
  5. When the status becomes deactivated, KoppelHet deactivates the Okta user.
Lucca → KoppelHet → OktaSOURCELuccaTARGETOktaKoppelHetmapping · logging · monitoringLucca → KoppelHet → OktaSOURCELuccaTARGETOktaKoppelHetmapping · logging · monitoring
Out: Okta user with name, login and work email · Job title, department and entity · Manager · Staging, activation and deactivation · Okta ID back in Lucca

What to watch for with Lucca and Okta

  • Lucca has three statuses for an employee, calculated from the employments - upcoming, active and deactivated. Okta has a staged, an active and a deactivated user. KoppelHet lines those two up one to one, so HR does not have to fill in anything extra in Lucca for access.
  • For a new colleague Lucca already points to the next job position, with department and manager. KoppelHet puts those straight onto the staged Okta user. Group rules in Okta on department can thus assign the right apps before the first working day.
  • Lucca has a remoteId field per employee for the key in another system, unique and up to a hundred characters. KoppelHet writes the Okta user's ID there. That way HR sees in Lucca which Okta account belongs to someone, and the nightly comparison finds every user again, even after a name change.
  • Lucca allows fifty requests per minute per environment, shared with payroll and leave integrations. KoppelHet requests the employee with the option to include employment, job position and department in the same response, so one change costs one request instead of four.
  • In Lucca the legal entity belongs to the employment and follows from the establishment of the first job position. KoppelHet puts that entity in the organization field in Okta. Apps that only apply to one entity, such as a local payslip portal, are then assigned by Okta through a group rule to those colleagues only.
  • Lucca sends notifications with a three-second timeout and tries at most five times. KoppelHet accepts a notification immediately and processes it afterwards. The nightly comparison still picks up a missed notification, so a leaver does not stay active in Okta.
  • The work mobile number is a separate field in Lucca with a fixed format. KoppelHet puts the number in the mobilePhone field in Okta, so a colleague can receive a text code at first sign-in without entering the number themselves, if your Okta policy allows SMS.

This integration is also part of joiner, mover, leaver.

How we build and run it

  • The integration runs on the KoppelHet platform, hosted in a data centre in the EU.
  • Every sync and every error is visible in the functional log; on an error your administrator is notified.
  • A change that cannot go through is not half-applied but queued for another attempt.
  • KoppelHet is ISO 27001 certified. Data travels encrypted and stays on the platform no longer than needed.
  • After go-live we manage the integration and adjust it when your process changes.
  • The integration fits next to your existing integration layer. Only the fields in the design are transferred; the platform keeps no register of its own.

Implementation, architecture and compliance

Implementation and price

This is not an app you switch on. We build the integration for your organisation on our platform, with building blocks we reuse on every project. So it is custom work that does not start from scratch.

A consultant prepares the intake and analyses both systems. We then record the mapping and exceptions field by field, test in the test or acceptance environment and go live at a moment you choose. Costs are a one-off amount for the setup and a monthly amount for platform, monitoring and support.

Price indication · Basic

Leave your work email and we will email you the price indication for this integration.

We only use your address to follow up on your question about this integration.

Frequently asked questions

Does the integration read salary or leave in Lucca?

No. Only employees, employments and job positions. In Lucca KoppelHet only writes the Okta ID.

Can the work email also go back to Lucca?

Yes, the email field can be written through the API. Lucca does refuse some domains; KoppelHet then reports that to HR.

Technical details for IT

For those who want to know how it works under the hood: APIs, fields and sources used.

  • Lucca API (latest) with OAuth 2.0: GET employees with include=embedded (employment, job-position, department), status upcoming/active/deactivated, applicableEmployment and applicableJobPosition; PATCH employee for remoteId (unique, 1 to 100 characters) with scope employees.readwrite, endpoint in beta. Events for employees and employments; three-second timeout and up to five attempts. Limit 50 requests per minute per environment, 429 with Retry-After.
  • To Okta through the Users API with an OAuth 2.0 service app (create without activation, activate, deactivate; profile with employeeNumber, title, department, organization, managerId and mobilePhone), or through a Custom Identity Source with the Lucca ID as immutable externalId (up to 200 profiles per bulk upsert, one session at a time).

Which fields are transferred

The key fields. The full mapping is agreed per customer.

Field in LuccaField in OktaNotes
id (employee)externalId of koppeltabelFixed key
givenName, familyNamefirstName, lastName
Naamgevingsregellogin en email
employeeNumberemployeeNumber
jobTitle (applicableJobPosition)title
department (applicableJobPosition)department
legalEntity (applicableEmployment)organization
manager (applicableJobPosition)managerId en manager
phoneNumbermobilePhone
statusSTAGED, ACTIVE of DEPROVISIONED
Okta-gebruikers-idremoteIdWritten back to Lucca

Related

Which systems do you want to connect?

Tell us which systems you use and what should happen automatically. Together we define the smallest working solution, with a clear design and a quote before building.