OmarElgabry/lumen-api-oauth

Can't get an access token

Closed this issue · 2 comments

Hi Omar,

First of all, thanks for doing this. I'm pretty new to Lumen, so your tutorial definitely helped me to found out how all this is working!

Now, the bad news: I can't find a way to get an access token using Postman.
Here are the users and oauth_clients tables I have now.
Also, here's the POST request I send, and its response.

What am I missing? If you need any other information, feel free to ask me and I'll provide the according details. 😊

Thank you for your time!

Hey,
your problem is, you have set the parameters and values in the Headers and not in the Body section.
Best regards

Wow, one of these moments I feel so mad at myself!
Thank you, it works perfect now @blacknet76!

Have a nice day my friend.