OAuth2
步骤 1 — 在您的身份提供商中注册 Chamilo
https://your-chamilo-url/connect/<provider>/check步骤 2 — 配置 authentication.yaml
键名
描述
Azure AD (Microsoft Entra ID)
authentication:
1:
oauth2:
azure:
enabled: true
title: "使用 Microsoft 登录"
client_id: "<application-client-id>"
client_secret: "<client-secret>"
tenant: "<tenant-id>"
url_login: "https://login.microsoftonline.com"
path_authorize: "/<tenant-id>/oauth2/v2.0/authorize"
path_token: "/<tenant-id>/oauth2/v2.0/token"
url_api: "https://graph.microsoft.com"
allow_create_new_users: true
allow_update_user_info: trueKeycloak
Facebook
通用 OAuth2
步骤 3 — 清除缓存并测试
小贴士
最后更新于
这有帮助吗?