Skip to content

Commit

Permalink
Merge 1ec04e4 into 2dcd45f
Browse files Browse the repository at this point in the history
  • Loading branch information
sgruse committed Jun 7, 2018
2 parents 2dcd45f + 1ec04e4 commit c2c4e24
Show file tree
Hide file tree
Showing 4 changed files with 6,024 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/strategy.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function Strategy(options, verify) {

OAuth2Strategy.call(this, options, verify);
this.name = 'gitlab';
this._profileURL = options.profileURL || url.resolve(this._baseURL, 'api/v3/user');
this._profileURL = options.profileURL || url.resolve(this._baseURL, 'api/v4/user');
this._oauth2.useAuthorizationHeaderforGET(true);
}

Expand Down

0 comments on commit c2c4e24

Please sign in to comment.