Skip to content

Commit

Permalink
[FIX] CustomOauth Identity Step errors displayed in HTML format (#15000)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hudell authored and sampaiodiego committed Jul 16, 2019
1 parent cab7c89 commit aaae20c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/custom-oauth/server/custom_oauth_server.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ export class CustomOAuth {
const params = {};
const headers = {
'User-Agent': this.userAgent, // http://doc.gitlab.com/ce/api/users.html#Current-user
Accept: 'application/json',
};

if (this.identityTokenSentVia === 'header') {
Expand Down

0 comments on commit aaae20c

Please sign in to comment.