hanachan1026
hanachan1026

Reputation: 335

What is the easiest way to protect api routing in laravel5.4

Now, I am using Laravel Passport(4.0) in my project

But it's not working well in production environment.

I was thinking to stop using Laravel Passport.

Is there any way easier than using Laravel Passport?

Upvotes: 0

Views: 44

Answers (1)

Rudraksh Pathak
Rudraksh Pathak

Reputation: 898

I always prefer to use token based security to protect my APIs. Use JWT(Json Web Tokens). Learn more about it - https://jwt.io/

Upvotes: 1

Related Questions