-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
"The redirect URI included is not valid" on GitLab #7100
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
Comments
The same error occurred for me when I used the Authorization Code with PKCE Flow. Then, I switched to using the Implicit Grant Flow. |
I just tried with the implicit grant, and I got a new error: "The authorization server does not support this response type." So perhaps GitLab removed support for implicit grant. |
suspected same issue at #7093 |
Mine is a self hosted gitlab instance and implicit grant works fine. In my case decap cms removed / at the end of the redirect uri while making the request that's what causing the issue. |
Thank you @blackb1rd, the fix was released as 3.1.2. |
Success! After updating to 3.1.2, I was able to authenticate to GitLab using pkce auth. Thank you for the quick resolution! |
Describe the bug
I'm trying to configure Decap for GitLab-hosted GitLab Pages. However, when I try to authenticate I get the error: "The redirect URI included is not valid." from GitLab.
To Reproduce
My repo is https://gitlab.com/trinityworc/trinityworc.gitlab.io which is hosted at https://trinityworc.gitlab.io
Decap is available at: https://trinityworc.gitlab.io/admin/
I'm using Client-Side PKCE Authorization.
Expected behavior
The auth flow should complete successfully.
Applicable Versions:
CMS configuration
My config.yml contains:
Additional context
I tried authorizing both user-owned and group-owned applications on GitLab, but no success either way.
The text was updated successfully, but these errors were encountered: