Hello,
I am trying to receive an oauth token in order to access a secure http route in my BTP app. I have followed the documentation to create an API and added the appropriate grant types (password, JWT, etc.) and am able to reach the url https:// . accounts.ondemand.com/oauth2/token but always receive an invalid_grant response with a "User authentication failed." message.
I am trying to receive a token with a valid user that has access to the system. I am providing the API client id and secret in the body of the request as well as a user ID and password. Is there more that needs to be done to add users specifically to the oauth flow, or am I going about this incorrectly?