When we are trying to authenticate as the admin user (that was created as part of our initial setup) using this documentation, we get the error as shown below
curl -X POST "https://<baas_host_name>/management/token" -d '{"grant_type":"password", "username":<admin_username>, "password":<admin_password>}'
Error:
{"error_description":"invalid username or password","error":"invalid_grant"}
We’ve verified that the username and password are correct (i.e. We can use this username/password to log in to the Edge/BaaS account), but we are still getting “invalid username or password”.
Can someone let me know why are we getting this error ?