I know the question is kind of broad but let me narrow down. I have built a small social network with laravel and I am looking forward to building the api with dingo my problem is I will like to know the developers using my api(Developer authentication) this gets me confused because a developer using the api will have to authenticate users of my site to post or get information about them... I would like to know how this authentication should work.
Say a developer dev@gmail.com with password 'dev123' wants to get a particular user's post and the url the the post is mydomain.com/api/users/445/posts/4 and user 445 has email user@gmail.com and password 'user123'. How do I manage handling developer authentication and user authentication with jwt. I have looked at some tutorials on jwt but confused whether it's the api user(developer) or platform user who is being authenticate. Thanks in advance, I will appreciate a tutorial covering such if available.