{"repo":"xinnj/zentao-oidc","free":true,"listed":false,"github":"https://github.com/xinnj/zentao-oidc","clone":"git clone https://github.com/xinnj/zentao-oidc.git","description":"本插件用于禅道支持基于OpenID Connect的SSO登录","language":"PHP","stars":26,"topics":["oauth2","openid-connect","sso","zentao"],"license":"LGPL-2.1","category":"auth-billing-email","readme_excerpt":"本插件用于禅道支持基于OpenID Connect的SSO登录。 在禅道开源版18.8、21.4、21.7.8及Keycloak 23.0.7上验证通过。 使用方法（以Keycloak为例）： 1. 在Keycloak的Clients页面中添加新的OpenID Connect类型的client。例如： 2. 在新创建的client中拿到secret： 3. 在Keycloak的Realm roles页面添加新的角色： zentao admin 。并将希望登录禅道后自动赋予管理员角色的用户关联到该角色上，注：只有在禅道中新创建用户时才会自动赋予管理员角色。 4. 在本项目的release页面下载最新插件安装包。 5. 使用本地管理员登录禅道，并使用禅道的插件本地安装功能安装本插件。 6. 编辑文件 extension/pkg/oidc/config/ext/oidc.php : 7. 缺省情况下，禅道是使用传统的GET请求方式，这种方式不允许URL参数中包含字符 : ，和OpenID Connect Authentication Response中的iss参数冲突。有两种解决方案： 编辑 config/my.php 文件并修改以下选项: 将Keycloak中client的advanced选项中的 Exclude Issuer From Authentication Response 选项打开。 8. 重启禅道后，点击 单点登录 按钮，在Keycloak中输入账号登录。","default_branch":null,"files":null,"tree":[],"storefront":"/r/xinnj","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/xinnj/zentao-oidc/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}