2017 © Pedro Peláez
 

library moodle-auth_googleoauth2

image

fproject/moodle-auth_googleoauth2

  • Monday, July 30, 2018
  • by F-Project
  • Repository
  • 3 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 83 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

This plugin adds the "Sign-in with Google / Facebook / Github / Linkedin / Windows Live / id.projectkit.net" buttons on the login page. The first time the user login with a social account, a new Moodle account is created., (*1)

It forked from moodle-auth_googleoauth2, (*2)

And this is Offcial moodle plugin website, (*3)

Requirements

PHP 5.5, (*4)

Installation:

  1. Clone plugin:, (*5)

    • Go to folder moodle\auth\, (*6)

    • Git: git clone https://github.com/fproject/moodle-auth_googleoauth2.git, (*7)

    • Rename dir moodle-auth_googleoauth2 to googleoauth2., (*8)

  2. Config, go to folder googleoauth2:, (*9)

    • The first, chang config.php, (*10)

    • The second: composer update, (*11)

  3. Enable plugin:, (*12)

    • Login Moodle as admin., (*13)

    • Go to Site administration/ Advanced features / Plugins / Authentication / Manage authentication: Enable Oauth2 plugin., (*14)

    • In setting of Oauth2, insert clientId and secret whose your registered with id.projectkit.net, (*15)

    • Ok, good luck :), (*16)

Update:

  1. Login with accesstoken, (*17)

    • You can login moodle with accesstoken, example about structure of link:

    http://localhost/moodle/login/index.php?authprovider=vp&accessToken=XXXX, (*18)

  2. End point revice revokeToken, (*19)

    • Endpoint address:

    http://localhost/moodle/login/index.php?revokeToken=XXXX, (*20)

The Versions

30/07 2018

dev-STABLE_25

dev-STABLE_25

  Sources   Download

30/07 2018

dev-STABLE_26

dev-STABLE_26

  Sources   Download

12/06 2016