For the user to be able to login, he or she needs to have a user in our system. You need to implement a synchronisation between our systems. A user will have a organisation and a department:
Organization
Departments
…
Users
….
If you do not have a synchronisation already, you can use our api here:
Department
{ "id": "some-unique-department-id" "name": "Some Department", "email": department@email.com, "organizationId": "some-unique-organization-id", "address": "Osloveien 10", "postalCode": "1234", "phone": "12345678" }
User
{ "name": "Ola Nordmann", "username": "USERNAME", "departmentId": "some-unique-department-id", "email": "ola@nordmann.no", "phone": "12345678" }