I am integrating xero api in my application. I have purchased api. When I request for oauth_verifier code using unauthorized token, they are forcing to open web browser. On web page they have link saying that "Allow for 30 minutes". After clicking manually on that link they redirect to callback url with my authentication complete. I want to automate this using api only. Why they are forcing to open browser and click on allow for 30 mins link? I have downloaded sample code for C# from sample code - xero c#
Asked
Active
Viewed 455 times
2 Answers
1
The Xero API allows for 30 minute access when using a Public App, as you have noted the user will need to re-authorise every 30 minutes.
A Partner App allows for this process to be automated without user intervention. To be granted a Partner App you will need to get in touch with the Developer Relations team here: https://developer.xero.com/partner/#become-a-partner

RobinXero
- 54
- 2
-
One more question. There are two options for partnership as per link you provided(app partner and developer partner). We want to use xero api to create invoice from my application' code(c#). Can you suggest which partnership program should I go with? Thanks in advance. – Savan S Jun 07 '18 at 06:25
-
Either will put you in touch with the team, but App Partner seems the most appropriate in your case. – RobinXero Jun 07 '18 at 07:17