Microsoft Azure
概述
使用 Microsoft Azure 创建的应用程序支持单点登录,并可用于登录 Labii。
使用 OneLogin 设置 Labii SSO
要使用 Microsoft Azure 作为身份提供商连接到 Labii:
-
创建一个应用程序。请确保选择 Non-gallery。
-
创建完成后,进入应用程序并选择左侧面板中的 Single sign-on。点击 SAML 作为 SSO 方法。
-
基本 SAML 配置:
- 标识符(Entity ID)-> 复制并粘贴 Labii 中的 Entity Id
- 回复 URL(Assertion Consumer Service URL)-> 复制并粘贴 Labii 中的 Acs Url
-
在 Labii 中更新 Attribution Map:
{"email": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress","username": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress","last_name": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname","first_name": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname"} -
在 Labii 中使用 Azure 的 App Federation Metadata Url 更新 Metadata Auto Conf Url,
或者,使用从 Azure 下载的 Federation Metadata XML 内容更新 Labii 中的 Metadata Xml -
在 Labii 中使用 Azure 的 Logout URL 更新 Idp Logout Url
-
对于 Labii 中的 Idp Login Url,Azure 的 Login URL 无法使用。请前往 Properties -> 复制 User access URL,并使用该 URL 更新 Labii 中的 Idp Login Url。