Skip to content

Commit

Permalink
Merge pull request #88 from mjmgooch/master
Browse files Browse the repository at this point in the history
Added guzzle options to config to allow for connection options
  • Loading branch information
cocojoe authored Dec 5, 2017
2 parents fde1d37 + 455a467 commit f93ccd6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Auth0/Login/Auth0Service.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ public function decodeJWT($encUser)
'authorized_iss' => config('laravel-auth0.authorized_issuers'),
'secret_base64_encoded' => $secret_base64_encoded,
'cache' => $cache,
'guzzle_options' => config('laravel-auth0.guzzle_options'),
]);

$this->apiuser = $verifier->verifyAndDecode($encUser);
Expand Down
9 changes: 9 additions & 0 deletions src/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,13 @@
*/
// 'supported_algs' => ['HS256'],

/*
|--------------------------------------------------------------------------
| Guzzle Options
|--------------------------------------------------------------------------
| guzzle_options (array) optional. Used to specify additional connection options e.g. proxy settings
|
*/
//guzzle_options => []

);

0 comments on commit f93ccd6

Please sign in to comment.