集成阿里云oauth2报错
Summary
15.6 和15.7版本的gitlab在集成阿里云oauth登录时,登录通过之后跳回到gitlab界面报错提示:
Could not authenticate you from Alicloud because "Redirect uri mismatch: redirect uri mismatch. {"request id":"aec60fc5-7953-43c0-882b-b8f2eb8df85c","error description":"redirect uri mismatch.","http code":400,"error":"redirect uri mismatch"}".
错误界面截图:
Steps to reproduce
Example Project
What is the current bug behavior?
通过阿里云的密码验证之后,应该会跳转登录进入gitlab界面,实际上没有。检查阿里云的oauth配置都是正确的。
What is the expected correct behavior?
通过阿里云的密码验证之后,会跳转登录进入gitlab界面。该功能在15.0左右版本是正常的,最近的几个版本都存在这个问题。
Relevant logs and/or screenshots
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)