OAuth2 integration with moodle 2.8.1

OAuth2 integration with moodle 2.8.1

by Navin Goyal -
Number of replies: 1

Hi All,

This is Navin Goyal, I am trying to authenticate a user through his gmail account.

i have done all the configuration as per the instructions written on the OAuth2 plugin setting page.

But i got an error when i try to login with google.

i am attaching screen shot of problem.


Attachment Capture12.PNG
Average of ratings: -
In reply to Navin Goyal

Re: OAuth2 integration with moodle 2.8.1

by Ken Task -
Picture of Particularly helpful Moodlers
Think the google end error tells you exactly what you need to check on the moodle end ... call back url that's in Moodle.

You are using an old version of Moodle and thus an addon/plugin. for using Google Oauth2.

This one?

When reading the setup instructions (or hints on screen when configuring) those do show/mention the call back url.   Check those notes/docs then compare what has been entered into the config on the Google end.

Plus, on the Google end ... complete/valid set up requires all 3 tabs when setting up the google end ... Credentials (API).

Not only the Credentials (API where secret/key are seen/found), but. also the other two ... Oauth 2 consent screen and Domain verficiation.

SoS, Ken