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/azure_active_directory
Julio Montoya 03fa0e1c7d Fix azure plugin login BT#17309 5 years ago
..
lang Minor - format code 6 years ago
layout Azure Plugin: Use pass_reminder_custom_link in login form - refs BT#9859 6 years ago
src Fix azure plugin login BT#17309 5 years ago
view Azure Plugin: Use pass_reminder_custom_link in login form - refs BT#9859 6 years ago
README.md Azure plugin: Update instructions on README file - refs BT#9859 6 years ago
index.php Azure plugin: Add option to enabled management login - refs BT#9859 6 years ago
install.php Azure plugin: Add option to show logout button - refs BT#9859 6 years ago
login.php Azure plugin: Add option to enabled management login - refs BT#9859 6 years ago
plugin.php Applied fixes from FlintCI 8 years ago

README.md

The Azure Active Directory Plugin

Allow authentication (with OAuth2) with Microsoft's Azure Active Directory.

This plugin add two extra fields for users:

  • organisationemail, the email registered in Azure Active Directory for each user.
  • azure_id, to save the internal ID for each user in Azure.

This plugin use the thenetworg/oauth2-azure package.

To configure Azure Active Directory

  • Create and configure an application.
  • In Authentication section, set an Reply URL with https://{CHAMILO_URL}/plugin/azure_active_directory/src/callback.php.
  • In Certificates & secrets, create a secret string (or application password). And keep copied.

To configure this plugin

  • Enable
  • Application ID: Enter the Application Id assinged to your app by the Azure portal.
  • Application secret: Enter the client secret created.
  • Block name: (Optional) The name to show above the login button.
  • Force logout button: (Optional) Add a button to force logout from Azure.
  • Management login: (Optional) Disable the chamilo login and enable an alternative login page for users.
    You will need copy the /plugin/azure_active_directory/layout/login_form.tpl file to /main/template/overrides/layout/ directory.
  • Name for the management login: A name for the management login. By default is "Management Login".
  • And 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["azure"]["login"] = $_configuration['root_sys']."main/auth/external_login/login.azure.php";