diff options
-rw-r--r-- | doc/administration/auth/jwt.md | 7 |
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. |