Update: I have just changed my config\auth0.php
class to show the following (as mentioned in this discussion post:
'providers' => [
'users' => [
//'driver' => 'auth0'
'driver' => 'eloquent',
'model' => App\User::class,
],
Now I appear to be getting a Can't initialize a new session while there is one active session already
error. Which lines up with some other posts that I’ve seen where users create an account, and are redirected the /
page, only to attempt a login again and be presented with that error. I noticed in the quick start guide it mentions that:
[I] should clear all cookies for the testing site and try again. This can happen when a session is set but an error occurs after or the process does not complete.
I’ve tried this, using incognito on both firefox and chrome, in addition to running the following commands on my server:
php artisan config:clear
php artisan cache:clear
composer dump-autoload
php artisan view:clear
php artisan route:clear
I’m still getting this error and behavior. Any ideas here? Thanks.
PS: I also noticed in the Auth0 logs that it’s recording these login and signup events as successful, but I’m still not seeing an indication that it’s hitting my upsertUser
method.