# Auth0 in Laravel not working

**URL:** <https://community.auth0.com/t/auth0-in-laravel-not-working/103637>\
**Category:** Get Help\
**Tags:** configuration, application\
**Created:** [March 29, 2023, 2:04pm UTC](https://community.auth0.com/t/auth0-in-laravel-not-working/103637 "2023-03-29T14:04:14Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![LozziStyle](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lozzistyle/32/45871_2.png) [@LozziStyle](https://community.auth0.com/u/LozziStyle)\
**Post date:** [March 29, 2023, 2:04pm UTC](https://community.auth0.com/t/auth0-in-laravel-not-working/103637/1 "2023-03-29T14:04:14Z")

</div>

Hello everyone,

I followed this guide: [Auth0 Laravel SDK Quickstarts: Login](https://auth0.com/docs/quickstart/webapp/laravel/01-login)

But Auth::user() returns null all the time. Why is that so?

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [March 30, 2023, 10:17am UTC](https://community.auth0.com/t/auth0-in-laravel-not-working/103637/2 "2023-03-30T10:17:02Z")

</div>

Hey there!

Thanks for raising this! In order to handle that most effectively can I ask you to raise a GitHub issue here so we can discuss it directly with the repo maintainers?

> **[Issues · auth0-samples/auth0-laravel-php-web-app](https://github.com/auth0-samples/auth0-laravel-php-web-app/issues)**
>
> Auth0 Integration Samples for Laravel Web Applications - Issues · auth0-samples/auth0-laravel-php-web-app

Once you have a link to it you can share it here so we can ping them. Thank you!

---

<div class="post-metadata">

**Author:** ![LozziStyle](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lozzistyle/32/45871_2.png) [@LozziStyle](https://community.auth0.com/u/LozziStyle)\
**Post date:** [March 30, 2023, 3:37pm UTC](https://community.auth0.com/t/auth0-in-laravel-not-working/103637/3 "2023-03-30T15:37:32Z")

</div>

> <https://github.com/auth0-samples/auth0-laravel-php-web-app/issues/146>
>
> Hello everyone,
> 
> I followed this guide: https://auth0.com/docs/quickstart/weba…pp/laravel/01-login
> 
> But Auth::user() returns null all the time. Why is that so?

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [March 30, 2023, 3:39pm UTC](https://community.auth0.com/t/auth0-in-laravel-not-working/103637/4 "2023-03-30T15:39:39Z")

</div>

Thank you! I’ll ping the repo maintainers in a few minutes!

---

<div class="post-metadata">

**Author:** ![LozziStyle](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/lozzistyle/32/45871_2.png) [@LozziStyle](https://community.auth0.com/u/LozziStyle)\
**Post date:** [April 3, 2023, 7:35am UTC](https://community.auth0.com/t/auth0-in-laravel-not-working/103637/5 "2023-04-03T07:35:19Z")

</div>

Still no answer yet, is this normal?

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [April 4, 2023, 12:43pm UTC](https://community.auth0.com/t/auth0-in-laravel-not-working/103637/6 "2023-04-04T12:43:40Z")

</div>

This is an ad-hoc request and our engineering teams are working with some type of backlogs. They should contact you shortly

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [April 18, 2023, 12:44pm UTC](https://community.auth0.com/t/auth0-in-laravel-not-working/103637/7 "2023-04-18T12:44:27Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
