-
Notifications
You must be signed in to change notification settings - Fork 143
Closed
auth0/auth0-PHP
#654Description
SDK Version
Other (specify in 'additional context')
PHP Version
PHP 8.1
Composer Version
2.x
What happened?
Using 7.2.1 and out-of-the-box config, I get an error "Undefined array key 0".
This happens because in this line
Line 86 in 09b32ad
| sessionStorage: new LaravelSession( |
the
sessionStorage: changes the arguments passed to not be a integer-based array but an associative array. I didn't dig deep, but removing the sessionStorage: and transientStorage: a few lines lower fixes the issue.
Maybe in certain php versions/settings this was actually allowed, but not on my vanilla 8.1.11 on macOS.
How can we reproduce this issue?
Don't set a sessionStorage or transientStorage in the config, do anything that triggers setting up the config.
Additional context
No response
la-robertosashaskr
Metadata
Metadata
Assignees
Labels
No labels