跳到主内容

AzureAD

介绍

Azure Active Directory (Azure AD) simplifies application management by providing a single identity system for cloud and on-premises applications. Software as a Service (SaaS) applications, on-premises applications, and Line of Business (LOB) applications can be added to Azure AD. 然后用户可以一次登录来安全和无缝地访问这些应用程序。 以及微软公司提供的办公室365项和其他商业应用程序。

如何使用?

注册应用程序的步骤如下所示。

Step 1: Register an application

First, register an application and choose the account type as needed. 演示站使用下面显示的类型。

azuread_register.png

Step 2: Create a client secret

Create a client secret and save the value because it will be used later.

azuread_secret.png

Step 3: Add redirect URIs

Follow the example in the picture to add the redirect URIs for Casdoor.

azuread_uri.png

user.read API 默认是打开的。 You can add more scopes according to your needs. 最后,记得 给予管理员权限

azuread_permission.png

Step 5: Create AzureAD provider in Casdoor

The last step is to add an AzureAD OAuth provider and fill in the Client ID and Client Secret in your Casdoor.

zuread_casdoor.png