Skip to content

Commit

Permalink
Closes-Bug: #1580726
Browse files Browse the repository at this point in the history
In keystone v3, API Server throws error when sending X_Auth_Token as token got
from unscoped one, so use scoped one while sending to API Server.

Change-Id: I55d453eb96bd90e33b33d7bcb3b20f1892c3de2c
(cherry picked from commit 682dbf9)
  • Loading branch information
biswajit-mandal committed May 11, 2016
1 parent 085272f commit 8d50f7b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1206,9 +1206,10 @@ function getProjectDetails (projects, userObj, callback)
var projCnt = projects.length;
for (var i = 0; i < projCnt; i++) {
userObj['tenant'] = projects[i]['name'];
userObj['data'] = formatV3AuthTokenData(userObj, false);
userObjList[i] = commonUtils.cloneObj(userObj);
postDataArr[i] = {};
postDataArr[i]['data'] = formatV3AuthTokenData(userObj, false);
postDataArr[i]['data'] = userObj['data'];
postDataArr[i]['reqUrl'] = global.KEYSTONE_V3_TOKEN_URL;
postDataArr[i]['withHeaderResp'] = false;
}
Expand Down

0 comments on commit 8d50f7b

Please sign in to comment.