Hi!
I wanted to try out Netlify CMS but am running into a blocker.
Environment:
- GitLab self-hosted
- Netlify configured with manual integration - working branch builds, previews, etc
I realized I can’t use Netlify’s git-gateway because it doesn’t support self-hosted Gitlab AFAIK.
I tried setting up the Gitlab backend for Netlify CMS following the instructions for Gitlab Implicit flows.
My config looks like this:
backend:
name: gitlab
repo: XXXXXXX/XXXXXXX
auth_type: implicit
app_id: XXXXXXX
branch: "feature/DXS-616-netlify-cms"
api_root: https://XXXXXXX/api/v4
base_url: https://XXXXXXX
auth_endpoint: oauth/authorize
media_folder: static/img
collections:
...
This is what happens
-
Load admin page, click “Login with GitLab”
-
Redirected to self-hosted GitLab Sign In/Application Authorization
-
Redirected back to the admin, which displays this error:
In the console I see these errors:
I don’t know why Netlify CMS is trying to access Netlify Identity when I have GitLab implicit grant configured - AFAIK this shouldn’t need Netlify Identity?
May be similar to: docs: identity widget conflicts with implicit OAuth · Issue #1690 · netlify/netlify-cms · GitHub