简体   繁体   中英

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?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM