library moodle-auth_googleoauth2
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
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:
-
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)
-
Config, go to folder googleoauth2:, (*9)
-
The first, chang config.php, (*10)
-
The second: composer update, (*11)
-
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:
-
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)
-
End point revice revokeToken, (*19)
http://localhost/moodle/login/index.php?revokeToken=XXXX, (*20)
dev-master
9999999-dev
OAuth2 library for moodle
Sources
Download
The Requires
dev-master_with_vendor
dev-master_with_vendor
Sources
Download
The Requires