I'm failing to setup a retool resource for a service which uses OAuth2.0 with a basic auth on top.
I did not find a way to see what request retool actually sends which makes the debugging hard for me.
I want to achieve that the following request is sent:
curl -X POST "https://api.m2m.SERVICE.com/m2m/v2/oauth2/access-token" -H "accept: application/json" -H "Authorization: Basic xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx==" -H "Content-Type: application/x-www-form-urlencoded" -d "grant_type=password&scope=M2M_DEVICES_ALL&username=myuser&password=mypassword&customerId="
Response body should be:
I did not find a combination of OAUTH2.0 and basic auth which enables me to authenticate with the service. I have a username/password for basic auth and grant_type, scope, username, password,customerid for OAuth2.0.
After successfully authenticating, I would have to use the refresh token every 60min and autheticate against
using the refresh token. I also did not find an option to set the refresh token url.
Help highly appriciated.