meeshal's avatar

Laravel + passport + flutter app

I have a passport rest API which I like to use to build a flutter app. What should be the proper way to implement login and other auth processes using the rest API and features that laravel and passport provides out of the box.

I have read passport's docs but i am not sure what to use and what advantages or disadvantages these ways will have.

The flutter app will act as a front-end for this e-commerce platform.

I just need to know which direction I need to go.

Thanks

0 likes
2 replies
luismabenitez's avatar
Level 12

We use Flutter is most of our apps having Laravel as API / Backend most of the times.

Except for the social login, that we use the existing Flutter libs to handle it, we always use Laravel to manage the logins.

It depends of the app you are building, but I highly would recommend using Sanctum to manage login systems into the apps.

1 like

Please or to participate in this conversation.