Hello folks,
I am trying to integrate OAuth 2 service accepting registration with hotmail. After making all the configuration and trying to "Connect to the system account" from within MOODLE, I get this errors
error/Could not upgrade oauth token
Error code: Could not upgrade oauth token
$a contents:
- line 571 of /lib/oauthlib.php: moodle_exception thrown
- line 251 of /lib/classes/oauth2/client.php: call to oauth2_client->upgrade_token()
- line 479 of /lib/oauthlib.php: call to core\oauth2\client->upgrade_token()
- line 276 of /lib/classes/oauth2/client.php: call to oauth2_client->is_logged_in()
- line 907 of /lib/classes/oauth2/api.php: call to core\oauth2\client->is_logged_in()
- line 175 of /admin/tool/oauth2/issuers.php: call to core\oauth2\api::connect_system_account()
Any help is highly appreciated
Ahmed