Xero integration  Topic is solved

Discussions relating to plugin development, and the Jiwa API.

Xero integration

Postby pricerc » Tue Jul 21, 2020 1:53 pm

it seems that Xero have stopped the creation of new private apps - you are now limited to OAUTH 2.0 apps:
  • Auth code - Web App
  • Auth code with PKCE - Mobile or desktop app

... which is kind of messing with my plans for a new customer...

because I'm lazy and don't want to spend a lot of time investigating, is there an easy fix?
/Ryan

ERP Consultant,
Advanced ERP Limited, NZ
https://aerp.co.nz
User avatar
pricerc
Senpai
Senpai
 
Posts: 504
Joined: Mon Aug 10, 2009 12:22 pm
Location: Auckland, NZ
Topics Solved: 20

Re: Xero integration

Postby SBarnes » Tue Jul 21, 2020 2:11 pm

Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1619
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 175

Re: Xero integration

Postby pricerc » Tue Jul 21, 2020 3:35 pm

So that's a "no" from Mr Barnes.

Of course I should have mentioned that I was referring to https://docs.jiwa.com.au/display/J7UG/Bank+Feeds...

I'm not sure I have the energy to figure out yet another arcane API... (I'm currently working on one for an EFTPOS integration).
/Ryan

ERP Consultant,
Advanced ERP Limited, NZ
https://aerp.co.nz
User avatar
pricerc
Senpai
Senpai
 
Posts: 504
Joined: Mon Aug 10, 2009 12:22 pm
Location: Auckland, NZ
Topics Solved: 20

Re: Xero integration  Topic is solved

Postby Mike.Sheen » Tue Jul 21, 2020 6:56 pm

pricerc wrote:is there an easy fix?


Well, the easy fix is to wait for us to change our plugin and docs to use their new authentication mechanism. It doesn't look like it will be that hard - the changes look like it's just authentication.

I've logged DEV-8339 to address this.

Thanks, Stuart for those links - the one to the Github repository with sample C# code in particular will be useful.
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2444
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 756

Re: Xero integration

Postby pricerc » Wed Jul 22, 2020 10:34 am

Xero's developer site also links to its own libraries:

https://github.com/XeroAPI/Xero-NetStandard

and

https://github.com/XeroAPI/xero-netstandard-oauth2-samples

the latter also leads (via issues) to

https://github.com/SharePointPro/XeroMachine2Machine/ a "Demo of how to access Xero Auth2 without human auth using PCKE flow for desktop applications"

and

https://developer.xero.com/documentation/api-guides/machine-2-machine "Building integrations with no user interface"
/Ryan

ERP Consultant,
Advanced ERP Limited, NZ
https://aerp.co.nz
User avatar
pricerc
Senpai
Senpai
 
Posts: 504
Joined: Mon Aug 10, 2009 12:22 pm
Location: Auckland, NZ
Topics Solved: 20

Re: Xero integration

Postby SBarnes » Sun Jan 08, 2023 8:13 am

This was fixed on DEV-8339 in SR9
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1619
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 175

Re: Xero integration

Postby Mike.Sheen » Mon Jan 09, 2023 10:52 am

Pay no heed to William5 - it looks like a backlink spam account.

Whilst it's not posted any spam yet, the current modus operandi is to create an account, post a few times and then change their signature to include a URL to the site they intend to promote. This is how the SEO cowboys who promise to "get your site #1 on Google" actually get a site to be highly ranked - temporarily - until Google and other search engines get on top and end up punishing the promoted site to be forever banished to the bottom of the search results. Meanwhile the SEO cowboys ride off into the sunset with the money.

EDIT: I spoke too soon - William5 has posted a spam backlink - it was in a quote block so I failed to notice it!

Into the abyss he goes.
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2444
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 756


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 30 guests