Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added guzzle options to config to allow for connection options #88

Merged
merged 1 commit into from
Dec 5, 2017
Merged

Added guzzle options to config to allow for connection options #88

merged 1 commit into from
Dec 5, 2017

Conversation

mjmgooch
Copy link
Contributor

For those unfortunate enough to be behind a proxy, verifying tokens fails as the client domain address cannot be reached (e.g. client-domain-name.eu.auth0.com)

Adding connection options to the config allows users of this repo to specify additional options on the guzzle plugin and therefore allow traffic to pass through the proxy and JWT tokens to be verified.

An example configuration:
'guzzle_options' => [ 'curl' => [CURLOPT_PROXY => 'your-proxy-address.com', CURLOPT_SSL_VERIFYPEER => true, CURLOPT_PROXYPORT => '8080', CURLOPT_PROXYUSERPWD => 'username:password']],

Thanks

@cocojoe cocojoe changed the base branch from master to 5.x.x-dev December 5, 2017 11:12
@cocojoe
Copy link
Member

cocojoe commented Dec 5, 2017

Thanks, don't see a problem adding this. @glena

@cocojoe cocojoe added this to the 5.1.0 milestone Dec 5, 2017
@cocojoe cocojoe self-requested a review December 5, 2017 11:41
Copy link
Member

@cocojoe cocojoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cocojoe cocojoe merged commit f93ccd6 into auth0:5.x.x-dev Dec 5, 2017
@joshcanhelp joshcanhelp mentioned this pull request Mar 20, 2018
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants