Skip to content

Commit

Permalink
Merge pull request #64 from auth0/4.x.x-dev
Browse files Browse the repository at this point in the history
it should pass all the configs to the oauth client
  • Loading branch information
glena authored Jan 2, 2017
2 parents 02b6300 + a781c85 commit 8569156
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Auth0/Login/Auth0Service.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions src/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
*/

// 'persist_user' => true,
// 'persist_access_token' => false,
// 'persist_id_token' => false,
// 'persist_access_token' => true,
// 'persist_id_token' => true,

/*
|--------------------------------------------------------------------------
Expand Down

0 comments on commit 8569156

Please sign in to comment.