Commit d920d115 authored by Robert Speicher's avatar Robert Speicher

Merge branch 'tc-geo-api-v4' into 'master'

Use API v4 during Geo OAuth authentication

Closes #3624

See merge request gitlab-org/gitlab-ee!3082
parents 40fa4c96 95c52b2d
......@@ -58,7 +58,7 @@ module Gitlab
return false unless access_token
api = OAuth2::AccessToken.from_hash(oauth_client, access_token: access_token)
api.get('/api/v3/user').parsed
api.get('/api/v4/user').parsed
end
private
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment