Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The redirect URI included is not valid. #30

Closed
shouldnotappearcalm opened this issue Apr 8, 2019 · 2 comments
Closed

The redirect URI included is not valid. #30

shouldnotappearcalm opened this issue Apr 8, 2019 · 2 comments
Labels
gitlab Issues about GitLab platform Platform issues that cannot be solved by Vssue

Comments

@shouldnotappearcalm
Copy link

使用gitlab,配置redirect url比如http://localhost:4000

但是我的博客页面是http://localhost:4000/xxx/yy这样进入页面会自动跳转到
http://xxxc&redirect_uri=http://localhost:4000/xx/yy&response_type=token&state=Vssue,这个路径会直接抛出错误The redirect URI included is not valid.

因为redirect url不固定,所以我应该怎么做

@meteorlxy
Copy link
Owner

meteorlxy commented Apr 8, 2019

GitLab does not support wildcard redirect URI now.

Track this issue:

https://gitlab.com/gitlab-org/gitlab-ce/issues/48707


目前 GitLab 只能写到要跳转页面的准确 URI,不能像 GitHub 和 Bitbucket 那样匹配子路径。在上面那个 issue 解决之前,只能挨个添加 URI,确实有点坑。

@meteorlxy meteorlxy added gitlab Issues about GitLab platform Platform issues that cannot be solved by Vssue labels Apr 8, 2019
@shouldnotappearcalm
Copy link
Author

get it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gitlab Issues about GitLab platform Platform issues that cannot be solved by Vssue
Projects
None yet
Development

No branches or pull requests

2 participants