From a781c85752f204d7ffd6f22ed7d17f38b0d01b1b Mon Sep 17 00:00:00 2001 From: German Lena Date: Mon, 2 Jan 2017 10:16:40 -0300 Subject: [PATCH] it should pass all the configs to the oauth client --- src/Auth0/Login/Auth0Service.php | 2 +- src/config/config.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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, /* |--------------------------------------------------------------------------