diff options
author | Douwe Maan <douwe@gitlab.com> | 2018-04-30 08:52:55 +0000 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2018-05-02 12:34:37 +0200 |
commit | 4bf364717eb653015793e92b65c270f2151cda5e (patch) | |
tree | ba0695f81532d93f9246d093be0e82339b905ee7 /config | |
parent | e676870097faece92e410e95788a3d1004a25469 (diff) | |
download | gitlab-ce-4bf364717eb653015793e92b65c270f2151cda5e.tar.gz |
Merge branch 'add-jwt-strategy-to-gitlab-suite' into 'master'
Ports omniauth-jwt gem onto GitLab OmniAuth Strategies suite
See merge request gitlab-org/gitlab-ce!18580
Diffstat (limited to 'config')
-rw-r--r-- | config/gitlab.yml.example | 4 | ||||
-rw-r--r-- | config/initializers/omniauth.rb | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/config/gitlab.yml.example b/config/gitlab.yml.example index 8c39a1f2aa9..722ac67da0b 100644 --- a/config/gitlab.yml.example +++ b/config/gitlab.yml.example @@ -532,7 +532,7 @@ production: &base # required_claims: ["name", "email"], # info_map: { name: "name", email: "email" }, # auth_url: 'https://example.com/', - # valid_within: nil, + # valid_within: null, # } # } # - { name: 'saml', @@ -823,7 +823,7 @@ test: required_claims: ["name", "email"], info_map: { name: "name", email: "email" }, auth_url: 'https://example.com/', - valid_within: nil, + valid_within: null, } } - { name: 'auth0', diff --git a/config/initializers/omniauth.rb b/config/initializers/omniauth.rb index 00baea08613..e33ebb25c4c 100644 --- a/config/initializers/omniauth.rb +++ b/config/initializers/omniauth.rb @@ -25,5 +25,6 @@ end module OmniAuth module Strategies autoload :Bitbucket, Rails.root.join('lib', 'omni_auth', 'strategies', 'bitbucket') + autoload :Jwt, Rails.root.join('lib', 'omni_auth', 'strategies', 'jwt') end end |