langleyfoxall / xero-laravel

💸 Access the Xero accounting system using an Eloquent-like syntax
https://packagist.org/packages/langleyfoxall/xero-laravel
GNU Lesser General Public License v3.0
85 stars 40 forks source link

Xero OAuth2 Migration #21

Closed futurewebsites closed 4 years ago

futurewebsites commented 4 years ago

Hi Xero has changed to OAuth2 and no longer supports the creation of Public and Private Apps.

https://developer.xero.com/documentation/auth-and-limits/private-applications

Does / will the repo support OAuth2 ?

DivineOmega commented 4 years ago

Hi there. We are planning to upgrade this library to support OAuth2.

Someone will update this issue when we have more information.

DivineOmega commented 4 years ago

This package is dependant on the calcinai/xero-php package and requires it to first be updated to support OAuth2.

Related issue: https://github.com/calcinai/xero-php/issues/625.

parkourben99 commented 4 years ago

This was recently merged https://github.com/calcinai/xero-php/pull/680

parkourben99 commented 4 years ago

I have opened a pull request for this, https://github.com/langleyfoxall/xero-laravel/pull/24

DivineOmega commented 4 years ago

The initial version of this has been merged and released as v2.0.0.

The full OAuth 2 flow is being worked on, including creation of the authorisation URL and handling the redirect from Xero.