Oauth2 authentication

Oauth2 authentication

by sushumna rao -
Number of replies: 0

Hi,

I am trying to enable users log in via google following the documentation provided here. (https://docs.moodle.org/33/en/OAuth_2_authentication#Log_in_using_your_account_on_another_site)

I am using 3.3 version with Roshni Lite theme.

I am using Moodle in subdomain like www.example.com/moodle.

So, I gave redirect URI as www.example.com/moodle.

 I have two issues:

1. When clicked on Google link on log in page it is giving an error:

Error 400 (OAuth2 Error)!!1

Error: redirect_uri_mismatch

The redirect URI in the request, does not match the ones authorized for the OAuth client. 

2. The Google icon is not displaying well:



Please help me on this.

Average of ratings: -