Gitlab pkce backend not passing client_id to gitlab
See original GitHub issueDescribe the bug Using Gitlab
To Reproduce
Expected behavior
Screenshots
Using Gitlab self hosted as a backend for Netlify CMS is resulting in and error message of Missing required parameter: client_id
.
How to reproduce:
- Once clicking on “Login with GitLab”
- Get redirected to `https://{{gitlab-domain}}/oauth/authorize?provider=gitlab&site_id=cms.netlify.com&scope=api
- Get error
Following the docs from here: https://www.netlifycms.org/docs/gitlab-backend/#client-side-pkce-authorization
Applicable Versions:
- Netlify CMS version: netlify-cms-app 2.9.7
- Git provider: Gitlab 14.6.0-ee (self hosted)
- OS: MacOS 12.1
- Browser version: Firefox 95.0.2, Chrome 97.0.4692.99
- Node.JS version: NPM 8.3.2
CMS configuration Sensitive info changed to vars
backend:
name: gitlab
repo: {{the-group-name-here}}/articles
auth_type: pkce
app_id: {{app-id-goes-here}}
api_root: https://{{gitlab-domain}}/api/v4
base_url: https://{{gitlab-domain}}
auth_endpoint: oauth/authorize
branch: develop
Additional context Here is the Gitlab config:
Issue Analytics
- State:
- Created 2 years ago
- Comments:8
Top Results From Across the Web
OAuth 2.0 identity provider API - GitLab Docs
Supported OAuth 2.0 flows. GitLab supports the following authorization flows: Authorization code with Proof Key for Code Exchange (PKCE): Most secure.
Read more >Configure GitLab as an OAuth 2.0 authentication identity ...
Navigate to the desired group. · On the left sidebar, select Settings > Applications. · Enter a Name, Redirect URI and OAuth 2...
Read more >Support PKCE in the API for more secure connections - GitLab
Problem to solve. Many users want to create GitLab Pages sites, or other static sites, or mobile apps, to access the GitLab API....
Read more >unauthorized: authentication required on docker push ... - GitLab
I'm creating two docker images via gitlab-ci from one repository upon pushing them to GitLabs private container registry. The .gitlab-ci.yml ...
Read more >Generic OAuth 2.0 provider - GitLab Docs
Can only be used for single sign-on, and does not provide any other access granted by any ... You should now be able...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Resolved with an updated version of Netlify CMS.
No, davli921. It doesn’t.
Peter P. Lupo Software Engineer, M.Sc. Certified ScrumMaster / Sun Certified Associate for Java Platform MPS.BR Authorized Appraiser and Implementation Practitioner +1 647-676-3699 http://www.pplupo.com
On Tue, Aug 9, 2022 at 8:26 PM davli921 @.***> wrote: