symfonycorp / connect

The SymfonyConnect official API SDK
https://connect.symfony.com/
MIT License
90 stars 40 forks source link

Nullable arguments in OAuthException constructor #91

Closed guillbdx closed 4 years ago

guillbdx commented 4 years ago

This change will fix an issue: in src/Security/Firewall/ConnectAuthenticationListener.php at line 65, we create an OAuthException with $request->query->get('error_description') as a second argument. But this can be bull in the $request query doesn't carry any error_description parameter.