diff --git a/src/Auth0/Login/Auth0Service.php b/src/Auth0/Login/Auth0Service.php index 39496559..fe49d82c 100644 --- a/src/Auth0/Login/Auth0Service.php +++ b/src/Auth0/Login/Auth0Service.php @@ -31,7 +31,7 @@ private function getSDK() $auth0 = new Authentication($auth0Config['domain'], $auth0Config['client_id']); - $this->auth0 = $auth0->get_oauth_client($auth0Config['client_secret'], $auth0Config['redirect_uri']); + $this->auth0 = $auth0->get_oauth_client($auth0Config['client_secret'], $auth0Config['redirect_uri'], $auth0Config); } return $this->auth0; diff --git a/src/config/config.php b/src/config/config.php index 555e6223..1cc632e7 100644 --- a/src/config/config.php +++ b/src/config/config.php @@ -52,8 +52,8 @@ */ // 'persist_user' => true, - // 'persist_access_token' => false, - // 'persist_id_token' => false, + // 'persist_access_token' => true, + // 'persist_id_token' => true, /* |--------------------------------------------------------------------------