-
Notifications
You must be signed in to change notification settings - Fork 744
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
GenericProvider does nothing with "verify = false" option. #945
Comments
Hmmm I think I found where the issue comes from. That will be interesting to set this option without proxy. |
Hello I need the same option. Thanks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi everyone.
With my code, as in your exemple.
The fact to use "verify" => false doesn't work
I've got an error
cURL error 60: Peer's certificate has an invalid signature
Your example shows verify = false. but no way. It doesn't care. It's like verify = true.
$provider = new \League\OAuth2\Client\Provider\GenericProvider([ 'clientId' => 'XXXXXX', // The client ID assigned to you by the provider 'clientSecret' => 'XXXXXX', // The client password assigned to you by the provider 'redirectUri' => 'https://my.example.com/your-redirect-url/', 'urlAuthorize' => 'https://service.example.com/authorize', 'urlAccessToken' => 'https://service.example.com/token', 'urlResourceOwnerDetails' => 'https://service.example.com/resource', 'proxy' => '192.168.0.1:8888', 'verify' => false ]);
Any idea?
Franck
The text was updated successfully, but these errors were encountered: