You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auth0\SDK\Store\SessionStore overrides the PHP session cookie lifetime setting from php.ini if the session is not already started prior to initializing Auth0:
Calling session_start() in that method is ok, but setting the cookie lifetime is an unexpected side effect given that SessionStore is automatically instantiated in the Auth0\SDK\Auth0 constructor if not specified in the $config parameter.
Thanks,
Geoff.
The text was updated successfully, but these errors were encountered:
Apologies for the late response here, @garnold. I agree this is a little heavy-handed. It was done to make sure that the sessions in the PHP application match the Auth0 default sessions but both are adjustable so it makes sense to have an option for that.
Hello,
Auth0\SDK\Store\SessionStore
overrides the PHP session cookie lifetime setting fromphp.ini
if the session is not already started prior to initializing Auth0:https://github.com/auth0/auth0-PHP/blob/master/src/Store/SessionStore.php#L41
Calling
session_start()
in that method is ok, but setting the cookie lifetime is an unexpected side effect given thatSessionStore
is automatically instantiated in theAuth0\SDK\Auth0
constructor if not specified in the$config
parameter.Thanks,
Geoff.
The text was updated successfully, but these errors were encountered: