From 1b0f2ac30c879924cc91bd355d6d32201555e092 Mon Sep 17 00:00:00 2001 From: Christophe de Vienne Date: Sat, 6 Apr 2019 00:28:44 +0200 Subject: [PATCH] docs: document bitbucket implicit grant expiration (#2272) --- website/content/docs/authentication-backends.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/website/content/docs/authentication-backends.md b/website/content/docs/authentication-backends.md index 61db2390..81263421 100644 --- a/website/content/docs/authentication-backends.md +++ b/website/content/docs/authentication-backends.md @@ -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/).