Skip to content

Commit

Permalink
Merge pull request #90 from firmhub/master
Browse files Browse the repository at this point in the history
getDelegationToken fails since grant_type is not being passed along
  • Loading branch information
rolodato committed Apr 12, 2016
2 parents 614a2ec + eec87c5 commit ba83bde
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/auth/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,8 @@ AuthenticationClient.prototype.getDelegationToken = function (data, cb) {
id_token: data.id_token,
api_type: data.api || data.api_type,
scope: data.scope,
target: data.targetClientId || data.target
target: data.targetClientId || data.target,
grant_type: data.grant_type
};

return this.tokens.getDelegationToken(translatedData, cb);
Expand Down

0 comments on commit ba83bde

Please sign in to comment.