Skip to content

Commit

Permalink
feat(docs): Add note about GitLab Client-Side Implicit Grant
Browse files Browse the repository at this point in the history
## Description

As per comment decaporg/decap-cms#1690 (comment)
Identity widget conflicts with implicit authentication and should be disabled.




Co-authored-by: Lennart <[email protected]>
  • Loading branch information
jbialobr and LekoArts committed Apr 1, 2019
1 parent e7530bd commit cdb350d
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](https://www.netlifycms.org/docs/authentication-backends/#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 cdb350d

Please sign in to comment.