Azure Active Directory (Azure AD) simplifies application management by providing a single identity system for cloud and on-premise applications. Software as a Service (SaaS) applications, on-premise applications, and Line of Business (LOB) applications can be added to Azure AD. Users can then log in once for secure and seamless access to these applications, as well as Office 365 and other business applications provided by Microsoft.
How to use?
The steps to register an app are shown below.
step1. Register an application
First, Register an application. And choose an account type as needed. The demo station uses the type shown below.
step2. Create a client secret
client secret and save the value, it will be used later.
step3. Add redirect URIs
Follow the example in the picture to add the redirect URIs for Casdoor.
step4. Grant admin consent
user.read API is open by default. You can add more scope according to your needs. Finally, remember to grant admin consent.
step5. Create AzureAD provider in casdoor
The last step, add an AzureAD OAuth provider and fill the
Client ID and
Client Secret in your Casdoor.