Xero - beautiful accounting software

Xero Developer Help Center

Xero Developer Community

Community > API Authentication >

Oracle PL/SQL Custom Connection: unsupported_grant_type

Started by Ben Briscoe -   in API Authentication


I'm trying to integrate a custom connection (server to server) between an oracle DB and xero.

I'm using a custom connection but I'm getting a "{"error":"unsupported_grant_type"}" error.

Here's the code I'm using.


I had to put the code into pastebin as It would error and wouldn't let me post it with the code in here.