You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's not issue directly in the OAuth2 Client library, however I feel like it should be noted.
During authorization flow library calls getRandomState() method which is supposed to generate some random string of a given length. Here library uses RandomLib to pick appropriate random string generator and then uses it to generate a string. Problem is - RandomLib internally uses mcrypt_module_open() function which in PHP7.1 has been deprecated.
This basically breaks OAuth2 Client authorization flow. This I'm assuming affects all other libraries that user OAuth2 Client.
RandomLib has appropriate issue submitted, but not yet resolved.
The text was updated successfully, but these errors were encountered:
What version of league/oauth2-client are you using? Version 2 no longer uses RandomLib. Instead, it uses random_bytes() in PHP 7, falling back to paragonie/random_compat for earlier versions of PHP. I advise upgrading to the 2.x series of the oauth2-client library.
It's not issue directly in the OAuth2 Client library, however I feel like it should be noted.
During authorization flow library calls
getRandomState()
method which is supposed to generate some random string of a given length. Here library uses RandomLib to pick appropriate random string generator and then uses it to generate a string. Problem is - RandomLib internally usesmcrypt_module_open()
function which in PHP7.1 has been deprecated.This basically breaks OAuth2 Client authorization flow. This I'm assuming affects all other libraries that user OAuth2 Client.
RandomLib has appropriate issue submitted, but not yet resolved.
The text was updated successfully, but these errors were encountered: