-
Notifications
You must be signed in to change notification settings - Fork 479
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Azure Plugin: Update readme file with configuration - refs BT#9859
- Loading branch information
Showing
2 changed files
with
12 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,16 @@ | ||
# The Azure Active Directory Plugin | ||
Allow authentication with Microsoft's Azure Active Directory | ||
Allow authentication (with OAuth2) with Microsoft's Azure Active Directory. | ||
|
||
> This plugin use the [`thenetworg/oauth2-azure`](https://github.com/TheNetworg/oauth2-azure) package. | ||
### To configure Azure Active Directory | ||
* [Create an Azure AD B2C tenant](https://azure.microsoft.com/en-us/documentation/articles/active-directory-b2c-get-started/) | ||
* [Register your application](https://azure.microsoft.com/en-us/documentation/articles/active-directory-b2c-app-registration/) | ||
* [Configure Facebook, Google+, Microsoft account, Amazon, and LinkedIn accounts for use in your consumer-facing applications](https://azure.microsoft.com/en-us/documentation/articles/active-directory-b2c-overview/#how-to-articles) | ||
* 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, e.g. 580e250c-8f26-49d0-bee8-1c078add1609 | ||
* Tenant: Enter the name of your B2C directory, e.g. contoso.onmicrosoft.com | ||
* Sign up policy: Enter your sign up policy name, e.g. b2c_1_sign_up | ||
* Sign in policy: Enter your sign in policy name, e.g. b2c_1_sign_in | ||
* Block name: (Optional) The name to show above the buttons | ||
|
||
And assign a region. Preferably `login_bottom` | ||
|
||
> If you have issues with the OAuth request, try using OAuth 1.0 and modifying the files in this [gist](https://gist.github.com/AngelFQC/45d0d6c5eb4d4bcce24936e699cf7f1f) | ||
* _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. | ||
* And assign a region. Preferably `login_bottom`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters