Have you got the solutions, I also have the same issue
Laravel and Flutter App Authentication
Im building a Flutter app that will allow users to register and login. I want to authorise that registration in the Laravel back end and once the registration is authorised allow sign in on the device when there is a connection or no connection.
The device will be used in areas with no wifi or mobile data signal. I still want to allow sign in and the data they collect will be stored locally in sqlite and synced when there is signal back to the laravel back end.
I was not sure if I should use Passport or Sanctum. I'm new to mobile apps but I think authorising the registration should allow me to pass a token to the mobile device, store that token locally and check it exists. If it does auto login. The token would also be used to sync back through the laravel api. I'm swaying towards Sanctum but would love to know if anyone else has encountered a similar scenario and how they approached it.
Please or to participate in this conversation.