aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorNiall Sheridan <nsheridan@gmail.com>2016-04-22 23:08:28 +0100
committerNiall Sheridan <nsheridan@gmail.com>2016-04-22 23:16:11 +0100
commit4bdc76f948b2d92fdb65433bf70fe25f29fb01e4 (patch)
tree8bb6ab8f57b0babfdecd266f9b1d6ff0fa1760c5 /README.md
parenta1b903b22178c01e64ec2ef6d08aac3576b5f5ac (diff)
Fix table formatting
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 5 insertions, 9 deletions
diff --git a/README.md b/README.md
index 17c8d35..b6ee66d 100644
--- a/README.md
+++ b/README.md
@@ -60,9 +60,7 @@ Configuration is divided into three sections: `server`, `auth`, and `ssh`.
- `oauth_client_id` : string. Oauth Client ID.
- `oauth_client_secret` : string. Oauth secret.
- `oauth_callback_url` : string. URL that the Oauth provider will redirect to after user authorisation. The path is hardcoded to `"/auth/callback"` in the source.
-
- `provider_opts` : object. Additional options for the provider.
-- `provider_opts: { domain }` : string. Applies to "google" provider. Only allow users from this Google Apps domain. This is optional but leaving it unset will allow anyone with a Google account to obtain ssh certificates so don't do that.
#### Provider-specific options
@@ -75,17 +73,15 @@ Example:
"auth": {
"provider": "google",
"provider_opts" : {
- "domain": "example.com",
- "organization": ""
+ "domain": "example.com"
}
}
```
-| Provider | Option | Notes | | |
-|---------:|-------------:|----------------------------------------------------------------------------------------------------------------------------------------|---|---|
-| Google | domain | If this is unset then any gmail user can obtain a token. | | |
-| Github | organization | If this is unset then any GitHub user can obtain a token. The oauth client and secrets should be issued by the specified organization. | | |
-| | | | | |
+| Provider | Option | Notes |
+|---------:|-------------:|----------------------------------------------------------------------------------------------------------------------------------------|
+| Google | domain | If this is unset then any gmail user can obtain a token. |
+| Github | organization | If this is unset then any GitHub user can obtain a token. The oauth client and secrets should be issued by the specified organization. |
Supported options: