diff options
author | Markus Koller <markus-koller@gmx.ch> | 2016-12-09 18:36:50 +0100 |
---|---|---|
committer | Alexis Reigel <mail@koffeinfrei.org> | 2017-03-07 14:54:35 +0100 |
commit | c4982890489d254da2fe998aab30bf257767ed5e (patch) | |
tree | 0828e0cab70cabaceffcc0d588db32ac38ddf310 /lib | |
parent | fb4a486605e10692b5577f0700fbce38bebcc311 (diff) | |
download | gitlab-ce-c4982890489d254da2fe998aab30bf257767ed5e.tar.gz |
Implement OpenID Connect identity provider
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/auth.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/auth.rb b/lib/gitlab/auth.rb index 0a0bd0e781c..6166f8d0dd9 100644 --- a/lib/gitlab/auth.rb +++ b/lib/gitlab/auth.rb @@ -2,7 +2,7 @@ module Gitlab module Auth MissingPersonalTokenError = Class.new(StandardError) - SCOPES = [:api, :read_user].freeze + SCOPES = [:api, :read_user, :openid, :profile, :email].freeze DEFAULT_SCOPES = [:api].freeze OPTIONAL_SCOPES = SCOPES - DEFAULT_SCOPES |