![Picture of Bart R Picture of Bart R](/graphics/unknown.gif)
Bart R - 2017-03-15 00:55:15 -
In reply to message 10 from Manuel Lemos
Hi Manuel,
I'm trying to set up an application that uses 2-legged authorization to connect to a service.
I added an entry in the .json configuration file for the service that looks like this :
MyService
{
"oauth_version": "1.0",
"request_token_url": "https://.....",
"access_token_url": "https://.....",
"grant_type": "client_credentials",
"token_request_method":"POST",
"dialog_url":"2legged"
}
Calling $client->Initialiaze(); returns true;
However calling $client->Process(); results in the following error :
"it was not possible to access the OAuth access token: it was returned an unexpected response status 400"
Do you have any idea what could be going wrong at this point ?
Kind regards
Bart