RSTS OAuth2 request failed

Hi,

I tried to run the following request using Postman:
https://<IP appliance>/RSTS/oauth2/token

I used the following parameters:

  • grant_type: password
  • scope: rsts:sts:primaryproviderid:local
  • username: <my username>
  • password: <my password>

But I received the following response:

{

"error": "invalid_request",

"error_description": "Access denied.",

"success": false

}

Note: Even though I have an administrator role, it doesn't work.

What am I missing?

Thanks

Eli

  • Hello Eli,

    First enable better description of errors by going to  Appliance Management > Safeguard Access > Local Login Control and check all boxes where it says "Inform user of... "

    I was able to reproduce this error by disabling those checkboxes and deactivating user that wants to authenticate to API Endpoint. When you enable those checkboxes you might get better information about your specific problem.

    Your Postman config is correct.

    Best regards,

    Darko