I have administrative credentials for SOTI MobiControl, along with API client details (client ID and client secret) and the base URI. I want to retrieve the list of managed devices from the MobiControl MDM and need guidance on obtaining an access token.
Here’s what I’ve tried so far:
Included the client ID and client secret in the Authorization header.Specified grant_type=password in the request body, along with the admin username and password.However, I keep encountering the following error:
{ "error": "invalid_client" }Could someone explain the correct way to request an access token? Am I correctly using the client ID and client secret in the Authorization header?
{"error": "invalid_client"}