XeroAPI / xero-php-oauth2

Xero PHP SDK for oAuth 2 generated from Xero API OpenAPI Spec 3.0
MIT License
93 stars 66 forks source link

connecting to XERO OAuth2 API without UI #125

Closed Sandeep-MWP closed 4 years ago

Sandeep-MWP commented 4 years ago

Hi,

Do you have any immediate future plans for silently (without UI) connecting/authorization in the OAuth2 API.

Thanks

wobinb commented 4 years ago

Hi Sandeep

Once your app has completed the authorisation process it can maintain a near-permanent connection by refreshing the tokens. So long as this is done at least once every 60 days, you shouldn't have any issues. The following links contain further detail: https://developer.xero.com/documentation/api-guides/machine-2-machine https://developer.xero.com/documentation/oauth2/auth-flow

In the meantime I'll close this issue as it isn't specific to the PHP SDK.