Hi...having the same challenge. Front-end angular and backend laravel + jquery.
Any news on this? have you found a way to implement a RESTfull API with OAuth2? if yes, could you please tell us how and possibly share your code?
Same here! I've found that you can get the cookie "laravel_session" from your http request in android, but how do you go about keeping that cookie for future requests (or even when your user closes and opens your app again).
You can use tappleby/laravel-auth-token instead of oauth if you'd like. It's very easy to get going. You'll probably want to use laravel-cors as well.
I agree that there is very little documentation about setting up the controllers or whatever in order to get the ball rolling.
Hello. On this Laravel course, is taught how to develop a RESTful API, and has a new section about the OAuth2 server. There you can learn how to create a OAuth 2 Server, step-by-step for rour RESTful API.
Additionally there is a course for this on Lumen as well: https://www.udemy.com/lumen-restful-api-and-homestead-for-lume...
I hope it helps.
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us