klapaudius / FOSOAuthServerBundle

A server side OAuth2 Bundle for Symfony 5.0 or higher
7 stars 22 forks source link

fix: allow nullable parameter in Client::checkSecret() #23

Closed smirgol closed 8 months ago

smirgol commented 8 months ago

I'm having the issue where the secret to check is null, as is the Client::$secret. The call to the secret check throws an exception, though, since the check method does not accept a null value. I've changed the method to also accept null values.