Comments (2)
I got the same error, after digging out the error I found the package symfony/psr-http-message-bridge in last release they removed Diactoros Factory.
2.0.0 (2020-01-02)
Remove DiactorosFactory
check the CHANGELOG
Also laravel/passport requires symfony/psr-http-message-bridge ^2.0 composer.json
The solution till this package support symfony/psr-http-message-bridge ^2.0:
Add in your project composer.json file: "symfony/psr-http-message-bridge": "^1.1"
That's work for me.
from passport-multiauth.
Hello @ZedanLab,
I tryied before the older version of symfony/psr-http-message-bridge
it worked fine.
The problem is that i was working with the older version of passport-multiauth
, that requires DiactorosFactory
class, but when upgraded to lastest version the issue disappeared.
In case you want to work with version 1.1 of PSR isn't practical, may occur some issues in near future with specific packages, i recommending you to check your packages version.
This guy here #1028 was so helpful.
Thank you.
from passport-multiauth.
Related Issues (20)
- Auth::attempt() not working HOT 6
- Cannot generate tokens even after providing all form-data correctly. Results with error: { "error": "invalid_credentials", "message": "The user credentials were incorrect." }
- Unable to logout HOT 8
- Error with social login
- When i try to install it on laravel 6 this error (RepositorySecurityException) appear HOT 1
- Its giving me this error on laravel 6 HOT 4
- Support for Passport 8.0 HOT 3
- ignoreMigrations() doesn't exist anymore HOT 5
- Getting unauthenticated error when i try using token of user from id 2, the first user works well HOT 1
- Unit tests as defined is not working HOT 2
- Class 'Symfony\\Bridge\\PsrHttpMessage\\Factory\\DiactorosFactory' not found HOT 12
- Passport route /oauth/personal-access-token not limited to model
- I can set provider 'admins' for refreshing tokens even if refresh token is for 'user' HOT 1
- Error "Route [login] not defined"
- Authenticated model without middleware not correct
- During installing of sfelix-martins/passport-multiauth HOT 2
- Login attempt fails
- Laravel / frameworl ^ 8. X and laravel / Passport ^ 10.0 are not supported HOT 6
- Error while using grant_type client_credentials
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from passport-multiauth.