The first thing that we are trying to achieve is an Authorization Profile to call a REST service inside a Bot Action.
When we test our token URL in “Postman” we get a token, and this token can be used to call an Endpoint to obtain data from our database.
In Postman works fine and it returns an access_token, that we can use in the other endpoints.
But when we try to call that token URL from Authorization Profile, we always got an error.
Meanwhile we have workaround creating 2 services inside the bot action, one to obtain the token and the next to call the endpoint using the token gotten in the previous. It works but we are not sure if it is the correct way to obtain data from an API REST.