0
votes

I have built an API using lumen, but struggling with authentication. Examples online seem to either deal with client authentication (a web app connecting to the API with a client ID and secret returning an access lumen client auth) or user authentication (taking the email address and password of a user and providing an access token lumen user auth).

Does anyone have details on how to implement both into one Lumen API so that you can allow both user and client authentication? Ideally email address and password for user auth then id and secret for client auth.

1
medium.com/tech-tajawal/… I suggest you use jwt, and link above has full guide to it, have fun - Source Edin
Thank you Edin, I will take a look at this. - Paul

1 Answers

0
votes