Skip to content

Commit

Permalink
Config info for GitLab Client-Side Implicit Grant
Browse files Browse the repository at this point in the history
As per comment decaporg/decap-cms#1690 (comment)
Identity widget conflicts with implicit authentication and should be disabled.
  • Loading branch information
jbialobr committed Mar 31, 2019
1 parent e1c6eed commit 27ad6c3
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/docs/sourcing-from-netlify-cms.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,23 @@ backend:

Now you can save the config.yml file, commit the change, and push it to your GitHub repo.

#### Authenticating with GitLab

See the [GitLab Backend](https://www.netlifycms.org/docs/authentication-backends/#gitlab-backend)
section for details on how to configure authentication with GitLab.

If you use the Client-Side Implicit Grant option, disable the Netlify Identity service in your
`gatsby-config.js`:

```javascript:title=gatsby-config.js
{
resolve: `gatsby-plugin-netlify-cms`,
options: {
enableIdentityWidget: false,
}
}
```

#### Making Changes

Alright - you're all set to make changes in Netlify CMS and see them as commits in your GitHub repo!
Expand Down

0 comments on commit 27ad6c3

Please sign in to comment.