Xero - beautiful accounting software

Xero Developer Help Center

Xero Developer Community

Community > API Authentication >

oauth2 invalid grant

Started by Xero AccountingPod -   in API Authentication

https://gist.github.com/sethdefontenay/cd5b6eab9403e48c0a49bcc579c20323

I think i have everything correct but I get "invalid_grant",
Any ideas?
Hi there,

I think the name of the property on this line should be 'code' rather than 'authorization':

https://gist.github.com/sethdefontenay/cd5b6eab9403e48c0a49bcc579c20323#file-gistfile1-txt-L14

Hope that helps!

Russell
 

Russell Dear (Xero Staff)  

Hi Russel

Do you think you can check out this post: https://community.xero.com/developer/discussion/105714701/
 

Matthew Freire