-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
Cannot Login: Authentication aborted #131
Comments
I have resolved this issue - and will close. For anyone reading this, my issue was I had the I do have a small suggestion, which is to clarify in the documentation that using the GitHub backend is rather a different setup to the One of my motivations for moving away from Decap CMS was to avoid the need for |
Hey @jonnyowenpowell, welcome to Sveltia CMS, and glad you have solved the problem yourself! I have updated the README to briefly explain these issues. In a few months, I’ll prepare full documentation for Sveltia to make the migration easier. 😃 |
Sorry to resurrect this. @jonnyowenpowell from your comment above does this mean you were able to get the cms to work without hosting the site on netlify? Also in which file did you set the 'Cross-Origin-Opener-Policy: same-origin'? |
Hi 👋
I was using Decap CMS and somewhat satisfied with the results. However, I felt it lacked polish, so I went looking for an alternative and found this project. It immediately worked locally (after I changed the backend from
git-gateway
togithub
and added therepo
key) and is much more polished in my opinion; nice work!However, upon deployment to production, I find that I cannot login. The admin page loads fine, there are no console errors, CSP warnings, etc. When I click login, I immediately see 'Authentication aborted. Please try again.' and a corresponding 'Authentication aborted undefined' console error.
The
https://api.netlify.com/auth?provider=github&site_id=<my domain>&scope=repo%2Cuser
page opens, with content 'Not found' and a 404 response code.My backend configuration is the following:
The repository is private, I'm unsure if this matters but I'm including it for completeness.
I have tried with and without the Netlify Identity widget loaded on the admin page. I have tried clearing my site data. I did not change any Netlify Identity settings when I switched from Decap CMS.
I cannot find any issues about this, so I assume I'm doing something wrong, but I'm not sure what.
Update:
I have resolved the 404 response from Netlify - I simply changed the backend from
git-gateway
togithub
and didn't stop to configure the backend according to Decap CMS documentation. Silly me! I now have a GitHub OAuth app setup, and get a nice 'Authenticated' message - but the site still displays the same 'Authentication aborted. Please try again.' message.The text was updated successfully, but these errors were encountered: