Skip to content
This repository has been archived by the owner on Feb 19, 2024. It is now read-only.

hut6/moodle-auth_googleoauth2

 
 

Repository files navigation

This plugin is a modification of the main OAuth2 Moodle plugin to enable OAuth2 sign-in via the CRANAplus Identity Provider.

Installation:

  1. add the plugin into /auth/googleoauth2/
  2. in the Moodle administration, enable the plugin (Admin block > Plugins > Authentication)
  3. in the plugin settings, follow the displayed instructions.

Custom Provider

We have added /classes/provider/crana.php as the custom provider.

Composer (for devs)

If you install this into a Moodle system with composer, you can just symlink the plugin into the auth directory.

cd auth
ln -s ../../../hut6/moodle-auth_googleoauth2 googleoauth2

The library includes 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

+1 the plugin

To like the plugin, go to the Moodle.org repository plugin page, login and click on 'Add to my Favorites'. Find other ways to contribute on the github plugin page.

About

CRANAplus Moodle Auth Plugin (OAuth2)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 95.1%
  • CSS 2.7%
  • JavaScript 1.1%
  • Gherkin 1.1%