Ryan Wang 👍 OAuth 2 插件当前应该不支持自托管的 GitLab,暂时你可以修改配置文件自行构建插件。 修改位置:https://github.com/search?q=repo%3Ahalo-sigs%2Fplugin-oauth2%20gitlab&type=code 构建方式:https://github.com/halo-sigs/plugin-oauth2?tab=readme-ov-file#%E5%BC%80%E5%8F%91%E7%8E%AF%E5%A2%83
Sunsmomo Ryan Wang 👍 感谢,已解决,这边直接更新了数据库中的配置文件,将原有的地址修改为了GitLab自托管d的路径,主要修改了“/registry/oauth.halo.run/oauth2clientregistrations/gitlab”和“/registry/auth.halo.run/authproviders/gitlab”这两个配置文件
Ryan Wang 👍 Sunsmomo 这个问题在最新版本应该已经修复了,你当前使用的版本是? https://www.halo.run/store/apps/app-ESVDK?tab=releases
leeliangstudy /oauth/authorize?response_type=code&client_id=xxxxxx&scope=read_user&state=xxxxxxxx&redirect_uri=http://localhost:8090/login/oauth2/code/gitlab 如何修改这个redirect_uri,我是别的ip,不是localhost,采用docker-compose部署