Support the ongoing development of Laravel.io →
Authentication
Last updated 2 years ago.
0

Hi...having the same challenge. Front-end angular and backend laravel + jquery.

Last updated 2 years ago.
0

Same here, I'd love to read more about it.

Last updated 2 years ago.
0

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?

thanks

Last updated 2 years ago.
0

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).

Thanks

Last updated 2 years ago.
0

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.

Last updated 2 years ago.
0

Maybe this can help? https://github.com/dingo/api (And you mean this package? https://github.com/barryvdh/laravel-cors)

Last updated 2 years ago.
0

I agree that there is very little documentation about setting up the controllers or whatever in order to get the ball rolling.

Last updated 2 years ago.
0

Did anyone succeeded securing Dingo API by Oauth 2 ()

0

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.

Here the link: https://www.udemy.com/laravel-5-php-framework-agile-and-practical-php-restful-api/?couponCode=oauth2_2

Additionally there is a course for this on Lumen as well: https://www.udemy.com/lumen-restful-api-and-homestead-for-lumen-by-laravel-and-php/?couponCode=oauth2

I hope it helps.

Last updated 8 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.