Closed BranonConor closed 4 years ago
Update, just sent myself a password-reset for that email I was trying to use, from the Identity section of that site in Netlify. I changed my password and got in. I'm not sure if the issue will persist though next time I log in, or what caused it in the first place.
Thanks for raising this @BranonConor, just to confirm, you got the error immediately after choosing the email? It didn't prompt for the password? Not sure how the identity password is relevant when clicking sign in with google
.
Were you eventually able to login using sign in with google
or email and password (the one you changed).
Closing, please re-open if issue returns
I saw this same issue (Git Gateway Error: [object Object]
when trying to login to /admin
) as well, but logging in with a GitHub identity. Like @BranonConor and folks in decaporg/decap-cms#3658, sending a password reset email from Netlify Identity and clicking the link seems to have resolved the issue. @erezrokah Clicking the password reset did not actually prompt for a new password.
Having this problem with an 11ty site using Netlify CMS -- Password reset email from Netlify identity didn't resolve the issue from me
Hi @sasilver75, can you try this https://github.com/netlify/netlify-cms/issues/1415#issuecomment-634864927 if relevant or re-generation the git-gateway
token from Netlify site settings under identity?
More resources:
https://docs.netlify.com/visitor-access/git-gateway/
https://community.netlify.com/t/git-gateway-error/12220/15
Also, if any of the suggestions work can you comment on https://github.com/netlify/netlify-cms/issues/3827 with your issue and solution?
Hello. I also get this issue.
I'm using GitLab for git and Netlify Identity with Google OAuth. It has been running normally, but today I tried to log in to admin panel and got this error:
Steps to reproduce:
I had the issue before(the same, it appeared with no reason), I have "solved" it by updating GitLab API access token few times and somehow error disappeared.
I have tried the same this time, but nothing seems to help. What I have tried:
Well, while I was typing this...issue got resolved and I have been able to log in. Really strange issue. Maybe there are problems with GitLab?
I also am experiencing this issue.
Even me :(
I am also experiencing this issue
Git Gateway Error: [object Object] Also experiencing this issue - and I am connecting using Github authentication. Was working fine yesterday, but today -bluh- Hopefully someone is keeping their eyes on this : )
Check the branch name. If you are using main branch, change branch name from master to main
backend:
name: git-gateway
branch: main
Check the branch name. If you are using main branch, change branch name from master to main
backend: name: git-gateway branch: main
This fixed the issue for me. Thank you!
Clearing cookies fixed this for me.
Check the branch name. If you are using main branch, change branch name from master to main
backend: name: git-gateway branch: main
This saved my day
I've tried clearing cookies, reissuing gateway tokens, deleting, and reenabling the identity. All the same.
decap-cms-app 3.0.7
bootstrap.js:59 decap-cms-core 3.2.4
index.js:27 decap-cms 3.0.7
api.github.com/repositories/683020530/branches/main:1 Failed to load resource: the server responded with a status of 401 ()
auth.js:96 API_ERROR: Git Gateway Error: Please ask your site administrator to reissue the Git Gateway token.
at new t (https://unpkg.com/decap-cms@%5E3.0.0/dist/decap-cms.js:422:71984)
at new i (https://unpkg.com/decap-cms@%5E3.0.0/dist/decap-cms.js:422:72291)
at https://unpkg.com/decap-cms@%5E3.0.0/dist/decap-cms.js:14:13790
at async https://unpkg.com/decap-cms@%5E3.0.0/dist/decap-cms.js:14:23049
Any suggestions?
Well, just a simple idea: using another token/resetting the Git token on Netlify could or might work. I don't know, but it might work, as the logs tell me that there is an issue with the token.
Describe the bug When logging in to /admin using Google for an account that has been invited and has been working for weeks, I get two "Git Gateway Error {object Object}" error notifications. No changes have been made to the admin _config.yml that should affect this.
To Reproduce Go to admin log in > click log in > sign in with google > pick email > get error, and can't log in > clear cache and try again > same error
Expected behavior allow log in
Applicable Versions:
CMS configuration
Additional context Everything has been working as-is for weeks and is acting up seemingly out of nowhere.