Before the device can be used, it needs to be registered in our system.
The device registration happens in a two-step process. At first, the device needs to call the authentication service to receive a device code and a user code. Then the registration is confirmed, entering the user code by hand.
The endpoint to request the registration is POST /oauth/token. You need to pass the client credentials and the device UUID.
POST /oauth/token HTTP/1.1
If everything is fine, the API responds with 200 OK and some details:
HTTP/1.1 200 OK
The device needs to memorize the device_code in a safe place. It is used in subsequent calls.
The user_code is to be displayed, so that you can confirm the registration. You can do this in self-service in SecuOffice, or make our help desk do this for you.