summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2018-03-26 18:16:31 +0200
committerAchilleas Pipinellis <axil@gitlab.com>2018-03-26 18:16:31 +0200
commit2cec206eb63d6656b7229e32b1e32abe697bf879 (patch)
treef047dfec06ca8091a6f4ac2f622605c88efc193e
parentd2608d36e47a1527aa44ae0d4b19a97683ece092 (diff)
downloadgitlab-ce-43512-add-support-for-omniauth-jwt-provider.tar.gz
Clarify what auth_url should be43512-add-support-for-omniauth-jwt-provider
[ci skip]
-rw-r--r--doc/administration/auth/jwt.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/administration/auth/jwt.md b/doc/administration/auth/jwt.md
index 6de3a76a00e..2f95f427714 100644
--- a/doc/administration/auth/jwt.md
+++ b/doc/administration/auth/jwt.md
@@ -32,7 +32,7 @@ JWT will provide you with a secret key for you to use.
uid_claim: 'email',
required_claims: ["name", "email"],
info_maps: { name: "name", email: "email" },
- auth_url: 'https://example.com/',
+ auth_url: 'https://gitlab.example.com/',
valid_within: nil,
}
}
@@ -49,7 +49,7 @@ JWT will provide you with a secret key for you to use.
uid_claim: 'email',
required_claims: ["name", "email"],
info_map: { name: "name", email: "email" },
- auth_url: 'https://example.com/',
+ auth_url: 'https://gitlab.example.com/',
valid_within: nil,
}
}
@@ -58,7 +58,8 @@ JWT will provide you with a secret key for you to use.
NOTE: **Note:** For more information on each configuration option refer to
the [OmniAuth JWT usage documentation](https://github.com/mbleigh/omniauth-jwt#usage).
-1. Change `YOUR_APP_SECRET` to the client secret.
+1. Change `YOUR_APP_SECRET` to the client secret and set `auth_url` to your
+ GitLab URL
1. Save the configuration file.
1. [Reconfigure GitLab][] or [restart GitLab][] for the changes to take effect if you
installed GitLab via Omnibus or from source respectively.