An integration partner never simply sees all data in Loket. Loket decides per party which data it may use. On top of that, you decide what is shared through the authorizations of the integration user.
How it works
Integrations from other parties run via the Loket API. Security works on two levels. Both levels must give the green light. Only then does the integration exchange data.
What Loket arranges: the client
Each integration partner gets its own environment from Loket, the client. In it, Loket records which data the party may collect or change. Think of employments, payroll runs or working hours. Other data is out of reach for that party.
What you arrange: the integration user
Each integration needs a user in Loket. That user has their own authorizations and access to certain employers. The integration never sees more than that user is allowed to see. Do you give too many authorizations by mistake? Then the party is still limited to what Loket has released.
It also works the other way round. If the user gets too few authorizations, some data does not come through. The integration then does not work properly. You see which authorizations are needed per integration on loket.nl/koppelingsrechten.
Loket advises:
- a regular, active user that only serves the integration;
- a user at the level of your own employer, so data does not end up with other employers;
- only the authorizations the integration really needs.
Can't create a user yourself? Ask your accounting firm. Read What is an employer user?
Permission with a token, without a password
You give a party permission via a Loket login page. You log in with the integration user and see which data the party asks for. After your approval, the party gets a token. That token gives access to the API, not to Loket itself. The party has no login details and therefore cannot log in to Loket. How to give permission is explained in Switch on an integration in the Marketplace.
Only share your login details and tokens when it is really necessary.
Not working?
A software supplier asks for a client ID or API access
The software supplier requests a client from Loket itself, via loket.nl/koppelen-met-loket. Technical information is on developer.loket.nl. You only arrange the integration user and the permission.
A party asks for your username and password
That is not necessary. An integration works with your permission and a token. Do not give out your login details.
The integration does not collect all data
The integration user is probably missing a right, or access to the employer. Compare the authorizations with loket.nl/koppelingsrechten. Ask your accounting firm to add them.
A colleague whose login is the integration user is leaving
Do you use a colleague's login for the integration? Then the integration stops when that login disappears. Ask your accounting firm for a separate integration user. Then give permission again.