Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
chamilo-lms/plugin/oauth2
Angel Fernando Quiroz Campos 19dc8e5ec9 Plugin: OAuth2: Add event log when updating user 2 years ago
..
lang Plugin: OAuth2: Allow to set values for user status from oauth2 response - refs BT#20784 2 years ago
layout Generic OAuth2 plugin - refs BT#16734 6 years ago
localLogin Minor: Format code 4 years ago
src Plugin: OAuth2: Add event log when updating user 2 years ago
view Generic OAuth2 plugin - refs BT#16734 6 years ago
README.md Generic OAuth2 plugin - refs BT#16734 6 years ago
config.dist.php Minor coding style fixes - refs BT#16734 5 years ago
index.php Plugin: OAuth2: Fix catch BadMethodCallException when refreshing token - refs BT#19734 3 years ago
install.php Minor - Flint fixes 5 years ago
login.php Generic OAuth2 plugin - refs BT#16734 6 years ago
plugin.php Generic OAuth2 plugin - refs BT#16734 6 years ago
redirect_info.php Minor: Format code 3 years ago

README.md

The OAuth2 Plugin

Allows authentication with a generic OAuth2 provider.

This plugin adds an extra field to users :

  • oauth2_id, to store each users' OAuth2 identifier.

This plugin uses the league/oauth2-client package.

To configure the OAuth2 server

The OAuth2 server administrator must give you an OAuth2 client identifier and secret and enter this callback URL : https://{CHAMILO_URL}/plugin/oauth2/src/callback.php.

To configure this plugin

  • Enable it
  • Fill in the setting parameters (read the help messages)
  • assign a region. Preferably login_bottom.

Also, you can configure the external login to work with the classic Chamilo form login. Adding this line in configuration.php file.

$extAuthSource["oauth2"]["login"] = $_configuration['root_sys']."main/auth/external_login/login.oauth2.php";