Three-legged auth error
I registered a new dev account and created a new pair of id/secret.
Now I'm experiencing a problem with 3-legged auth.
From my app I'm trying to authenticate a user account which I created in a sandbox. I'm able to get to the point where I'm provided with a request token but the process fails at the exchange for access token.
- I initiate the access call from the browser by clicking a veem button.
- I see the screen " would like access to your Veem data. Please select an account: ...." with the account selected.
- I click Authorize.
- At this point I even able to hit a breakpoint in my code where I receive a callback.
- At this point my code sends a request to https://sandbox-api.veem.com/oauth/token with Sprint RestTemplate and I get absolutely not descriptive error which is an empty body with 401 http status in the response.
org.springframework.web.client.HttpClientErrorException: 401 null
Can you please advise?