From 1c3035f4dc88c0eac68d9970c2674653b2109b02 Mon Sep 17 00:00:00 2001 From: Ales Rybak Date: Thu, 9 May 2019 20:36:01 +0200 Subject: [PATCH] docs: code format bitbucket settings example (#2312) --- website/content/docs/authentication-backends.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/website/content/docs/authentication-backends.md b/website/content/docs/authentication-backends.md index 81263421..b7fa70dd 100644 --- a/website/content/docs/authentication-backends.md +++ b/website/content/docs/authentication-backends.md @@ -149,13 +149,15 @@ With Bitbucket's Implicit Grant, users can authenticate with Bitbucket directly 1. Follow the authentication provider setup steps in the [Netlify docs](https://www.netlify.com/docs/authentication-providers/#using-an-authentication-provider), make sure you allow 'Account/Read' and 'Repository/Write'. 2. Bitbucket gives you a **Key**. Copy this Key and enter it in your Netlify CMD `config.yml` file, along with the following settings: + ```yaml backend: name: bitbucket repo: owner-name/repo-name branch: default 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