Google OAuth2 Services - error/moodle/Could not discover end points for identity issuerGoogle
Re: Google OAuth2 Services - error/moodle/Could not discover end points for identity issuerGoogle
Maybe somewhere in:
https://developers.google.com/identity/protocols/oauth2/web-server
I usually set up an account in google as a service account and also include scopes for Google Drive. Even is site doesn't use Google Drive as a file system repo.
Plus on the Google end, set up all 3 tabs - credentials, Oauth consent screen, and Domain verification which includes a static termsofservice.html page on my server as well as a privacypolicies.html page.
https://docs.moodle.org/38/en/OAuth_2_Google_service
'SoS', Ken
Re: Google OAuth2 Services - error/moodle/Could not discover end points for identity issuerGoogle
Hi Ken,
Thanks for your reply.
I added below details in Outh2 services -> "Endpoints for issuer section: Google" section and restarted the server.
Issue solved.
discovery_endpoint https://accounts.google.com/.well-known/openid-configuration
authorization_endpoint https://accounts.google.com/o/oauth2/v2/auth
device_authorization_endpoint https://oauth2.googleapis.com/device/code
token_endpoint https://oauth2.googleapis.com/token
userinfo_endpoint https://openidconnect.googleapis.com/v1/userinfo
revocation_endpoint https://oauth2.googleapis.com/revoke