Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Getting invalid username or password when trying to authenticate as admin user

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 ?

0 1 1,092
1 REPLY 1