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

Samuel_B's avatar

How to auth my Laravel API for my IOS app

Hi , i have to develop the backend of an IOS app and i'm concerned about some stuff :

To use my app you have to be logged in (create an account)

I want to know how should i give acces to my app to use my api, should i use passport ? should i use a token to authorize my app to use my api ? How register the user of my app ?

My api is just use to be the backend of my mobile app, it won't be used for other purpuses (no differents user for my api , just my app)

Please someone can explain to me how does this work, the procedure, (the basic process) ?

Thx :)

1 like
4 replies
Reached's avatar

Yea, definitely use passport for this, it's the easiest i've worked with of the available solutions :)

2 likes

Please or to participate in this conversation.