line 74 of /auth/googleoauth2/lib.php: moodle_exception thrown Moodle 2.9
[Fri Apr 01 11:16:46.441469 2016] [:error] [pid 19100] [client IP] PHP Notice: Undefined index: oauth2state_facebook in /var/www/html/SITE/moodle/auth/googleoauth2/lib.php on line 73, referer: https://www.facebook.com
[Fri Apr 01 11:16:46.442519 2016] [:error] [pid 19100] [client IP] Default exception handler: auth_googleoauth2/invalidstateparam Debug: nError code: invalidstateparamn$a contents: n* line 74 of /auth/googleoauth2/lib.php: moodle_exception thrownn* line 19 of /auth/googleoauth2/facebook_redirect.php: call to googleoauth2_provider_redirect()n, referer: https://www.facebook.com
When trying to enter the copied link url (https://www.facebook.com/v2.2/dialog/oauth?client_id=######&redirect_uri=URL%2Fauth%2Fgoogleoauth2%2Ffacebook_redirect.php&state=#####&scope=email&response_type=code&approval_prompt=auto
) generates the error, but if accessed by the generated image by the utility can be accessed without error.
Apparently the problem is that it changes the session and is generated when creating the enter button with facebook.
Al tratar de entrar con el enlace copiado del url (https://www.facebook.com/v2.2/dialog/oauth?client_id=######&redirect_uri=URL%2Fauth%2Fgoogleoauth2%2Ffacebook_redirect.php&state=#####&scope=email&response_type=code&approval_prompt=auto
) genera el error, pero si se accede por el que se genera por la utilería se puede acceder sin error.
Al parecer el problema es que cambia la session y se genera al crear el botón de entrar con facebook