From 2cec206eb63d6656b7229e32b1e32abe697bf879 Mon Sep 17 00:00:00 2001 From: Achilleas Pipinellis Date: Mon, 26 Mar 2018 18:16:31 +0200 Subject: Clarify what auth_url should be [ci skip] --- doc/administration/auth/jwt.md | 7 ++++--- 1 file 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. -- cgit v1.2.1