You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Historically, I had always used Netlify Identity before NetlifyCMS became Decap when the backend was set to git-gateway.
And so I thought all the configuration in Netlify's UI would be handled under its Identity [https://app.netlify.com/sites/[project-name]/configuration/identity#content] settings rather than Access & Security [https://app.netlify.com/sites/[project-name]/configuration/access#content] settings when assigning Sveltia's configuration backend to something other than git-gateway, since Sveltia doesn't use it for performance reasons. Therefore, I'm using github for oAuth.
I discovered it's actually much simpler if you're already using Netlify to host Sveltia. There's no need to install Sveltia's oAuth package.
These links guided me towards success in order to set up a Github oAuth with Netlify:
Have a look at the compatibility info above first. If you’re already using Netlify/Decap CMS with the GitHub or GitLab backend and don’t have any unsupported features like custom widgets or nested collections, migrating to Sveltia CMS is super easy — it works as a drop-in replacement.
Sveltia CMS does not support the Git Gateway backend due to performance limitations. If you don’t care about user management with Netlify Identity, you can use the GitHub or GitLab backend instead. Make sure you install an OAuth client on GitHub or GitLab in addition to updating your configuration file. As noted in the document, Netlify is still able to facilitate the auth flow.
You don’t have to use it if you previously had Netlify/Decap CMS and your site is still being deployed to Netlify or if you have already used another 3rd party OAuth client.
But I understand that the overall steps are not clear, partly because the Netlify/Decap doc sucks. When we launch the 1.0 release, we will provide documentation with more detailed instructions.
Historically, I had always used Netlify Identity before NetlifyCMS became Decap when the
backend
was set togit-gateway
.And so I thought all the configuration in Netlify's UI would be handled under its Identity [https://app.netlify.com/sites/[project-name]/configuration/identity#content] settings rather than Access & Security [https://app.netlify.com/sites/[project-name]/configuration/access#content] settings when assigning Sveltia's configuration
backend
to something other thangit-gateway
, since Sveltia doesn't use it for performance reasons. Therefore, I'm usinggithub
for oAuth.I discovered it's actually much simpler if you're already using Netlify to host Sveltia. There's no need to install Sveltia's oAuth package.
These links guided me towards success in order to set up a Github oAuth with Netlify:
The text was updated successfully, but these errors were encountered: