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

Haskell's avatar

Authentiacion in API

Hello!

I want to make an API for my frontend(in other application) and mobile app. Both of them will be first party apps. Which authentication flow should I use? Password grant type? How to store securely client_secret?

0 likes
2 replies
Haskell's avatar

Yeah, I decided to use Laravel Passport for my project. Should I use Password Grant Type? If yes, how to deal with showing my client_secret to public

Please or to participate in this conversation.