Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

shohagmonzur's avatar

mobile app laravel api route authentication

I want to design for end-users of the mobile app. The users of the app have no authentication required for using the app. So how can i design the API? what kind of authentication can be performed without passport?

0 likes
2 replies
m7vm7v's avatar

If they do not need any authentication then do not include anything. Just pure calls to the api and they will have full access.

Have a look if Sanctum is something you can benefit from in your case or 3rd party packages such as https://github.com/tymondesigns/jwt-auth

Please or to participate in this conversation.