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

e4stwood's avatar

JS Login

Hey,

Basically I have a project which uses firebase's authentication to login which uses JS. I then want to use this login in my laravel project.

What's the best way to continually check that the user has logged into firebase in laravel?

I basically want to check whether we're logged in maybe in some middleware.

I was considering making an Ajax call on every page but thats obviously not a good way to do it.

Cheers

0 likes
0 replies

Please or to participate in this conversation.