Skip to content

Commit

Permalink
Pass token in Authorization header: #36
Browse files Browse the repository at this point in the history
  • Loading branch information
cecilia-donnelly committed Jul 25, 2016
1 parent 45bdc9e commit 7ec5a87
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/controllers/client.server.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,8 @@ exports.getIdentity = function (req, res) {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Content-Length': post_data.length
'Content-Length': post_data.length,
'Authorization': req.body.token
}
};

Expand Down

0 comments on commit 7ec5a87

Please sign in to comment.