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

charleslcso's avatar

Jetstream auth using external server via API call?

Jetstream uses its own database for user login data. As we need to use our in-house application for storing user login data, we would like Jetstream to make a few API calls to this in-house application, get JSON reply, and then authenticate the user.

I'm new to Laravel and Jetstream/Fortify, I'm not sure if this is the best approach. From what I have gathered so far, I believe I need to write CustomAuth logic in Jetstream to make this work.

Any comments?

0 likes
3 replies
charleslcso's avatar

Hi @drehimself

Your video on Jetstream is a great starter! It takes effort to get the hang of all these Fortify, Jetstream, Alpinejs, and so on, but I'm sure it can be done, relatively easily and quickly once I get the hang of it.

That's for the pointer!

Re making calls to external services, is https://laravel.com/docs/9.x/http-client the best option?

Thanks again!

Please or to participate in this conversation.