decaporg / decaporg/decap-cms

Initial load fails for new Git Gateway instance

Open
#2,465 2 comments 0 reactions 0 assignees View on GitHub
area: extensions/backends exp: beginner kind: bug pinned status: accepted
Dominant language
JavaScript
Stars
19.4k
Forks
3.1k
Avg merge
1d 14h
Merged PRs (30d)
9

Description

**Describe the bug**

When initially logging in to a new Git Gateway site, login fails and a yellow toast notification says the Git Gateway instance is not setup, or something like that. Reloading allows login to proceed.

**To Reproduce**

1. Use Deploy To Netlify to deploy a site with Git Gateway enabled: https://app.netlify.com/start/deploy?repository=https://github.com/andybelldesign/hylia&stack=cms
2. Accept the CMS invite via invite email
3. Go to /admin on the new site

**Expected behavior**

Login should work the first time.

**Screenshots**

**Applicable Versions:**

All. This has been going on forever.
**CMS configuration**

Unrelated.

**Suggested solutions**

There must be some difference in the initial settings retrieved from Git Gateway - we probably need to find out what that difference is, and refetch when it happens.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.