websmurf / laravel-exact-online

Laravel Exact Online wrapper around the PHP API
MIT License
11 stars 14 forks source link

refresh token expired #23

Closed ssaghijs-fa closed 2 years ago

ssaghijs-fa commented 2 years ago

Hi, earlier our laravel application used another exact online API with a different client ID and secret. I am willing to reconnect the application with a new API with a different client ID and secret. Willing to reconnect the application gives: Could not connect to Exact: Error 400: {"error":"invalid_request","error_description":"The refresh token expired at 10\/11\/2022 9:18:20 PM and it is now 10\/28\/2022 4:15:50 PM."}. I have the impression the wrapper is willing to use an old token (of the previous API). The exact.api.json file is empty. Can I manually influence this somehow? Thanks