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

najmulcse's avatar

Jwt auth apply for api route and auth apply for web route

I want to authenticate laravel site by jwt auth where api may call from other site( codeigniter) for accessing some view files(blades). How can I create the API route site and web route for authenticate as well as accessing some views. After passing authentication using email and password of the users who has logged in to the site he/she might access the some we web routes.

0 likes
0 replies

Please or to participate in this conversation.