Gitea访问使用KeyCloak作为用户管理
一、安装keyCloak
二、配置KeyCloak,添加ClientsClients
-> create
Client ID: devops-oidc
Enabled: true
Client Protocol: openid-connect
Access Type: confidential
Valid Redirect URIs:
三、配置Gitea,添加Authentication SourcesSite Administration
-> Authentication Sources
-> Add Authentication Source
OAuth2 Provider: OpenID Connect
Client ID(key): devops-oidc
Client Secret: <keycload 中 devops-oidc Credentials中查询>
OpenID Connect Auto Discovery URL: http://
gitea app.ini
ALLOW_ONLY_EXTERNAL_REGISTRATION = true
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 Michael Blog!
评论