I’m attempting to implement Auth0 Authentication with Laravel 11.35. I have it setup properly and working after copying some of the example for Laravel found here:
My issue is that I am attempting to use database sessions driver instead of the file sessions driver. I run into an issue where it never completes authentication and begins an infinite loop of login / callback / app.
Thank you for posting! Welcome to the Auth0 Community.
It sounds like the issue could be related to how Telescope interacts with the Auth0 SDK, causing an infinite loop during authentication. I recommend checking the Telescope.md documentation on GitHub.
Following the guide for Auth0 and then reading the Sessions.md unfortunately does not mention that a Eloquent model for the user must be created before the database driver can be used with mysql.