Moodle OAuth 2. This account is pending email confirmation! Solved

If you happen to come across this 'This account is pending email confirmation' message while using Google OAuth2 in Moodle. Try these following solutions:

Solution 1. First login to you Moodle and Admin.

Go to Site Administration --> Server--> oAuth 2 Services go to setting. Make sure the Require email verification is NOT checked.


Solution 2:

Login to Moodle database and delete the particular user

#mysql -uroot -p\

mysql> use moodledb;

mysql>SELECT * FROM mdl_auth_oauth2_linked_login WHERE email='sjamso@moodle.edu.bt';

mysql>DELETE FROM mdl_auth_oauth2_linked_login WHERE email='sjamso@moodle.edu.bt';




Comments

Popular posts from this blog

(Solved) (Fixed )MariaDB Unmet Dependencies on Ubuntu 20.04.

Solution to Moodle Error: Coding error detected, it must be fixed by a programmer: Failed to unserialise data from file. Either failed to read, or failed to write.

ACTION_FAILED:OU_INVALID: Solution for GoogleApps bulk user upload issue, username@domainname.com:ACTION_FAILED:OU_INVALID. This error is because you have not specified the Org Unit Path properly.