Download the PHP package fproject/moodle-auth_googleoauth2 without Composer
On this page you can find all versions of the php package fproject/moodle-auth_googleoauth2. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fproject/moodle-auth_googleoauth2
More information about fproject/moodle-auth_googleoauth2
Files in fproject/moodle-auth_googleoauth2
Package moodle-auth_googleoauth2
Short Description OAuth2 library for moodle
License
Informations about the package moodle-auth_googleoauth2
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.
It forked from moodle-auth_googleoauth2
And this is Offcial moodle plugin website
Requirements
PHP 5.5
Installation:
-
Clone plugin:
-
Go to folder moodle\auth\
-
Git: git clone https://github.com/fproject/moodle-auth_googleoauth2.git
- Rename dir moodle-auth_googleoauth2 to googleoauth2.
-
-
Config, go to folder googleoauth2:
-
The first, chang config.php
- The second: composer update
-
-
Enable plugin:
-
Login Moodle as admin.
-
Go to Site administration/ Advanced features / Plugins / Authentication / Manage authentication: Enable Oauth2 plugin.
-
In setting of Oauth2, insert clientId and secret whose your registered with id.projectkit.net
- Ok, good luck :)
-
Update:
-
Login with accesstoken
- You can login moodle with accesstoken, example about structure of link:
http://localhost/moodle/login/index.php?authprovider=vp&accessToken=XXXX
-
End point revice revokeToken
- Endpoint address:
All versions of moodle-auth_googleoauth2 with dependencies
depotwarehouse/oauth2-bnet Version ^3.0
pixelfear/oauth2-dropbox Version dev-bugfix