Open Khalilbz opened 4 years ago
i too, getting same error, if any one know how to fix it, help us
You can use my Fork/PR (#37)
You can use my Fork/PR (#37)
after added confidential() METHOD IN cLIENT.PHP FILE ITS getting new error
Client error: POST http://consumer.com/oauth/token
resulted in a 400 Bad Request
response:\n
{"error":"invalid_request","error_description":"The request is missing a required parameter, includes an invalid paramet (truncated...)\n
I'm getting this error, and I didn't understand why
Call to undefined method DesignMyNight\\Mongodb\\Passport\\Client::confidential()
Knowing that I'm using MongoDB as a databaseI sent a POST request with this header and body: Header:
Content-Type:application/json Accept:application/json
Body:{ "email": "khalil@gmail.com", "password": "123456" }
My Controller function :
My composer.json file:
My User Model:
The Return: