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.
|
|
5 years ago | |
|---|---|---|
| .. | ||
| lang | 6 years ago | |
| layout | 6 years ago | |
| src | 5 years ago | |
| view | 6 years ago | |
| README.md | 6 years ago | |
| index.php | 6 years ago | |
| install.php | 6 years ago | |
| login.php | 6 years ago | |
| plugin.php | ||
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-azurepackage.
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.tplfile 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";