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

howtolaravel's avatar

authentication with external api

Hi, i had a question, is possible to use the middleware of laravel 10 to log on a user, like the user put her username and password, the form send the data to the external api and then the api respond true or false, after that redirect the user to the main page and hold the session until the user log out

(sorry the english isn´t my first lenguage)

0 likes
0 replies

Please or to participate in this conversation.