docs: document bitbucket implicit grant expiration (#2272)

This commit is contained in:
Christophe de Vienne 2019-04-06 00:28:44 +02:00 committed by Shawn Erquhart
parent 6c3506b4d0
commit 1b0f2ac30c

View File

@ -97,7 +97,7 @@ To enable it:
repo: owner-name/repo-name # Path to your GitLab repository
```
### Client-Side Implicit Grant
### Client-Side Implicit Grant (GitLab)
With GitLab's Implicit Grant, users can authenticate with GitLab directly from the client. To do this:
@ -142,7 +142,7 @@ To enable it:
repo: owner-name/repo-name # Path to your Bitbucket repository
```
### Client-Side Implicit Grant
### Client-Side Implicit Grant (Bitbucket)
With Bitbucket's Implicit Grant, users can authenticate with Bitbucket directly from the client. To do this:
@ -156,6 +156,8 @@ With Bitbucket's Implicit Grant, users can authenticate with Bitbucket directly
auth_type: implicit
app_id: # The Key from your Bitbucket settings
**Warning:** With Bitbucket implicit grant, the authentication is valid for 1 hour only. After that, the user has to login again, **which can lead to data loss** if the expiration occurs while content is being edited.
## Test Repo Backend
You can use the `test-repo` backend to try out Netlify CMS without connecting to a Git repo. With this backend, you can write and publish content normally, but any changes will disapear when you reload the page. This backend powers the Netlify CMS [demo site](https://cms-demo.netlify.com/).