Oauth "An unexpected error occurred" 5.7.5.4

Permalink
Hi all,
Since upgrading to 5.7.5.4 users are getting "An unexpected error occurred" when trying to login using Google oauth. the following error is displayed in the error log
Argument 1 passed to OAuth\UserData\ExtractorFactory::get() must implement interface OAuth\Common\Service\ServiceInterface, array given, called in /var/www/web/concrete5/updates/concrete5.7.5.4/concrete/src/Authentication/Type/OAuth/ServiceProvider.php on line 38 and defined


Any help would be very much appreciated.
Thanks,
Josh

 
fabianvogler replied on at Permalink Best Answer Reply
fabianvogler
This bug has been confirmed and fixed. I expect the fix to be released with 5.7.5.5.

https://github.com/concrete5/concrete5/pull/3351...
joshcald04 replied on at Permalink Reply
Thank you!
I downloaded the new ServiceProvider.php to concrete5/updates/concrete5.7.5.4/concrete/src/Authentication/Type/OAuth and it now works perfectly again!