-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem during the callback #3
Comments
Hi, I would like to make a pull request but have no idea how to do that (I'm still a begginer with git, sorry). Please find my modifications below, hope this can help someone else. /src/EtsyService.php
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I tried to use this package, but I have some troubles to make it work.
Firstly, I got the same issue discussed in this pull request. So, I used this fix and I could get the authorization url from Etsy. (thanks to Joe Dawson!)
For the next, I don't know is the good way to do, but I made a redirection to this authorization url to be able to click on the button to allow access to my app.
Then, I'm getting the following error during the callback :
Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_RECOVERABLE_ERROR)
Argument 1 passed to League\OAuth1\Client\Server\Server::getTokenCredentials() must be an instance of League\OAuth1\Client\Credentials\TemporaryCredentials, boolean given, called in /vendor/gentor/etsy-php-laravel/src/EtsyService.php on line 79
Actually, when I check the
approve
function in EtsyService.php, I can findunserialize($this->session->get('temporary_credentials'));
returnsfalse
This is my controller :
It seems that is a session problem, maybe I should not make a redirection, but I don't know what else to do.
The text was updated successfully, but these errors were encountered: