Google auth2 facebook login not working

Google auth2 facebook login not working

by Crazy Coder -
Number of replies: 2
I am using Moodle 3.1+. I have used google auth2 for facebook login. It was working fine before. But now it is showing the exception "Required option not passed: access_token" while trying to access the token. Below code generates the exception.
$token = $provider->getAccessToken('authorization_code', [
'code' => $code
]);
Average of ratings: -
In reply to Crazy Coder

Re: Google auth2 facebook login not working

by Damyon Wiese -

This was already asked and answered very recently.

https://moodle.org/mod/forum/discuss.php?d=349917&parent=1412197


Please search for existing threads before starting a new discussion.

In reply to Damyon Wiese

Re: Google auth2 facebook login not working

by Crazy Coder -

Thanks, Damyon. I have searched in Google. But as this is a recent post, it didn't come up in the results.