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

NiloLeon's avatar

Laravel Authentication and API

Hello, I have an API that after inserting a valid license plate code as request parameter it returns 200 with some subscriber informations.

Can I use the response of this API as a sort of authentication method to access a website page? Only who are subscriber can access this page and then send a refund request.

Maybe i have to create a Custom User Provider? Or samething similar

Is there a best practise to do this also taking into account the issue of IT security?

0 likes
0 replies

Please or to participate in this conversation.