PHP Classes

Connecting to saasu

Recommend this page to a friend!

      PHP OAuth Library  >  All threads  >  Connecting to saasu  >  (Un) Subscribe thread alerts  
Subject:Connecting to saasu
Summary:Code Change Required to Connect to saasy
Author:Denis O'Hara
Date:2017-09-11 07:22:41

  1. Connecting to saasu   Reply   Report abuse  
Denis O'Hara - 2017-09-11 07:22:41
I am accessing the Australian accounting system, saasu ( and

The parameters I am using in the oath_configuration.json file are:
"oauth_version": "2.0",
"access_token_url": "",
"default_access_token_type": "Bearer",
"dialog_url": "",
"grant_type": "password",
"token_request_method": "POST"

In order to get connection to saasu to work, I had to add
if ($this->server == 'saasu') $options['RequestContentType'] = 'application/jsoní;
into the function ProcessToken2 before the switch based on authentication type (line 2068).

Either saasu does not operate the protocol in accordance with the standard or there is a slight flaw in your parameterisation.