hasib32 / rest-api-with-lumen

Rest API boilerplate for Lumen micro-framework.
487 stars 143 forks source link

How does this work ? #21

Closed LR3my closed 7 years ago

LR3my commented 7 years ago

Hello,

I have a slight problem to understand how to make this work.

First how can a user register via my api ? If to use the POST /user route you have to be authentified ?

Secondly, I extract it from the group of routes who need to be auth to be use, so I create a user, but how this new freshly created user can access the api ?

This user needs to get an access token, and to get it this user needs a client_id and a client_secret, how do I provide him that ?

I'm a bit lost... :/