An open API service indexing awesome lists of open source software.

https://github.com/scbd/oath2providerscbd

Forked moodle plugin with SCBD provider classes added in
https://github.com/scbd/oath2providerscbd

Last synced: 11 months ago
JSON representation

Forked moodle plugin with SCBD provider classes added in

Awesome Lists containing this project

README

          

This plugin adds the "Sign-in with Google / Facebook / Github / Linkedin / Wind$

We have included provider classes for the SCBD's oath endpoints. We also made $

### Installation:
1. add the plugin into /auth/googleoauth2/ ie. git clone https://github.com/scbd/oath2SCBDProvider.git
3. mv oath2SCBDProvider googleoauth2
4. in the Moodle administration, enable the plugin (Admin block > Plugins > Authentication)
5. in the plugin settings, follow the displayed instructions.

###From the developer of the plugin:

### Use the table access token (for devs)
In order to use to store the access token you must set the config with:
set_config('saveaccesstoken', 1, 'auth/googleoauth2');

### Composer (for devs)
I deliver the entire vendor content in the repository (so don't run composer). It makes it for me easy to download the zip file from Github and then to upload it straight away in Moodle.org.
Moodle.org is not able to create a package from Github (with vendor libs) yet.

### Credits
* [Contributors](https://github.com/mouneyrac/auth_googleoauth2/graphs/contributors)
* [The PHP League oauth2 client](https://github.com/thephpleague/oauth2-client)
* [Pixelfear dropbox support](https://github.com/pixelfear/oauth2-dropbox)
* [Depotwarehouse battle.net support](https://github.com/tpavlek/oauth2-bnet)
* [Guzzle](http://docs.guzzlephp.org/en/latest/)
* [illuminate contracts](https://github.com/illuminate/contracts)
* [Symfony EventDispatcher](http://symfony.com/)

### +1 the plugin
To like the plugin, go to the [Moodle.org repository plugin page](https://moodle.org/plugins/view/auth_googleoauth2), login and click on 'Add to my Favorites'. Find other ways to contribute on the [github plugin page](http://mouneyrac.github.io/moodle-auth_googleoauth2/).