Support the ongoing development of Laravel.io →
Authentication Session Laravel

Hello guys,

I need help on some tricky task. We have a wordpress application that we want to include in our laravel 5.2 system.

So basically, to view the pages of the wordpress site, the user needs to be authenticated first on the laravel system (user doesnt need to be authenticated on /wp-admin page).

I researched on how to share the Auth::check() system of Laravel app to external applications and found this page: https://gist.github.com/frzsombor/ddd0e11f93885060ef35

However, it doesn't work. Auth::check() from wordpress index.php file will always return false.

Appreciate any response on this one. Thank you!

Last updated 3 years ago.
0

Sign in to participate in this thread!

PHPverse

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.