kayrules / lumen-passport-mongodb Goto Github PK
View Code? Open in Web Editor NEWThis project forked from dusterio/lumen-passport
Making Laravel Passport work with Lumen
License: MIT License
This project forked from dusterio/lumen-passport
Making Laravel Passport work with Lumen
License: MIT License
Hi there,
I follow all the steps on the readme and i'm getting the following error: {"error":"invalid_client","message":"Client authentication failed"}
I'm sure that I'm using the correct client_id and client_secret, this is how I'm making the request in postman:
{
"grant_type": "password",
"client_id": "ObjectId("5b7486ea662c6c00aa321e62")",
"clien_secret": "gnBfu4isJNO41zI7ASwidLdCVSGuOoVvEYhLqm2m",
"username":"[email protected]",
"password": "$2y$10$R3fipU2fITvyD2rJhaM.de9VHbDhbttmudSgVfU95Y7fQJ2yQVulu",
"scope": ""
}
i tried too changing the client_id to: 5b7486ea662c6c00aa321e62 and to ObjectId(5b7486ea662c6c00aa321e62).
Yo may have some idea about what I'm doing wrong.
Thanks in advance
Hi All,
When I run any php artisan command this error appears:
In PassportServiceProvider.php line 65:
Call to undefined method Laravel\Lumen\Application::group()
Php : 7.4
Lumen : 8.0
When try to add lumen-passport-mongodb in lumen project via composer than error shown as below
kayrules/lumen-passport-mongodb 0.4.0 requires illuminate/database ~5.3|~5.4 -> found illuminate/database[v5.3.0, ..., 5.8.x-dev]
already install dusterio/lumen-passport
which is working fine for mysql database but not working for mongodb
{
"success": false,
"status": 500,
"message": "Trait 'MoeenBasra\LaravelPassportMongoDB\HasApiTokens' not found"
}
Hi,
I am getting error Class 'Laravel\Passport\Passport' not found on php artisan migrate.
my composer.json looks-
"require": {
"php": ">=5.6.4",
"laravel/lumen-framework": "5.4.*",
"vlucas/phpdotenv": "~2.2",
"ramsey/uuid": "^3.5",
"league/fractal": "^0.15.0",
"moeen-basra/laravel-passport-mongodb": ">= 1.0",
"kayrules/lumen-passport-mongodb": "^0.2.2",
"barryvdh/laravel-cors": "^0.8.6",
"illuminate/mail": "^5.4",
"jenssegers/mongodb": "^3.2"
},
Please help
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.