calcinai / xero-php

A php library for the Xero API, with a cleaner OAuth interface and ORM-like abstraction.
MIT License
360 stars 259 forks source link

Migrate the version for wamp server php8.1.8, Xero api not working #865

Closed lvsan closed 2 years ago

lvsan commented 2 years ago

Dear All,

I facing the error for below :

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://login.xero.com/identity/connect

this is only happen after i migrate my php7.4 to php8.1.8, and then I have upgrade the oauth2-xero and league\oauth2-client for my project.

I try to figure out how to solve this but not able to get thought. I am using http://localhost for development and testing environment.

Can anyone able to assist me on this?

I am using yii2 framework with apache 2.4.54, php8.1.8 and mysql 8.0.29 version.

Thanks.

lvsan commented 2 years ago

Hi, Sorry, i found the issues already and solve it.

Thanks.