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
Issue in Lumen 5.6 #66
Comments
I'm getting the exact same error. Followed the instructions to a tee. |
Sorry, you are getting this error when you do what exactly? |
Simply sending a POST request to /oauth/token will trigger the error.
It doesn't matter what is put in the form data, it will still give the same
error.
I followed the instructions to a tee and it works perfectly in Lumen 5.4,
so it's probably something with the update.
…On Wed, Feb 14, 2018 at 8:00 PM, Denis Mysenko ***@***.***> wrote:
Sorry, you are getting this error when you do what exactly?
I've just tried installing this with Lumen 5.6 and so far I don't get any
errors
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#66 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AQevPrc6zz7i_g3rBYICc48O9HGHadPzks5tU4G2gaJpZM4SAodW>
.
|
If you are unable to reproduce the error, I can post up here PHP files. |
I have not yet tried it in Lumen 5.5. |
There seems to be a bug in Laravel Passport that causes this, but I found a workaround, try putting this in any SP of yours:
|
Thank brotha. I will try that when I get back to the house. You definitely
might want to update your instructions! :)
Btw, 5.6 is the only version I ran into this problem. 5.5 works just fine.
…On Wed, Feb 14, 2018 at 11:24 PM, Denis Mysenko ***@***.***> wrote:
There seems to be a bug in Laravel Passport that causes this, but I found
a workaround, try putting this in any SP of yours:
$this->app->singleton(\Illuminate\Hashing\HashManager::class, function ($app) {
return new \Illuminate\Hashing\HashManager($app);
});
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#66 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AQevPuVNNXavXc5fwIiFcxsVv3m4EjpCks5tU7GLgaJpZM4SAodW>
.
|
Already did :))) It took me a while to upgrade to PHP 7.1 to test this :) |
Not sure if this is a bad solution or a solution that wouldn't even work as I haven't migrated to 5.6 yet but instead of requiring users to put that code snippet in manually can that registered singleton go in PassportServiceProvider in the |
@Patskimoto you are right, I've just done that |
This is unrelated to me, but just for the sake of cleaning up issues, could this issue be closed now? Or does it require a package update? |
@dusterio The snippet added in the PassportServiceProvider explicitly checks for version 5.6. The issue is still there in 5.7 :) |
@wolm sure, I modified the regex just now :) before 5.7 was released, I couldn't predict what's going to be needed hehe :)) |
I am getting this error
Unresolvable dependency resolving [Parameter #0 [ <required> $app ]] in class Illuminate\Support\Manager
Can you please guide me how can i fix it
The text was updated successfully, but these errors were encountered: