Skip to content

Commit

Permalink
Fix indentation in config example (decaporg#1447)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaligule authored and erquhart committed Jun 17, 2018
1 parent 773cf8e commit a2cacac
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions website/site/content/docs/authentication-backends.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,13 @@ With GitLab's Implicit Grant, users can authenticate with GitLab directly from t

```yaml
backend:
name: gitlab
repo: owner-name/repo-name # Path to your GitLab repository
auth_type: implicit # Required for implicit grant
app_id: your-app-id # Application ID from your GitLab settings
api_root: https://my-hosted-gitlab-instance.com/api/v4
base_url: https://my-hosted-gitlab-instance.com
auth_endpoint: oauth/authorize
name: gitlab
repo: owner-name/repo-name # Path to your GitLab repository
auth_type: implicit # Required for implicit grant
app_id: your-app-id # Application ID from your GitLab settings
api_root: https://my-hosted-gitlab-instance.com/api/v4
base_url: https://my-hosted-gitlab-instance.com
auth_endpoint: oauth/authorize
```

Note that in both cases, GitLab will also provide you with a client secret. You should _never_ store this in your repo or reveal it in the client.
Expand Down

0 comments on commit a2cacac

Please sign in to comment.