Skip to content

Commit

Permalink
First working Oz implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
Eran Hammer committed Nov 13, 2012
1 parent 303813a commit 5a4dacf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/auth/oz.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,9 @@ internals.Scheme.prototype.reissueEndpoint = function () {
options.grantExp = grant.exp;
}

if (request.payload.issuedTo) {
if (request.payload.issueTo) {
// Need to check if the app has permission to delegate ///////////////////////////////////////////////////
options.issuedFor = request.payload.issuedTo;
options.issueTo = request.payload.issueTo;
}

if (request.payload.scope) {
Expand Down

0 comments on commit 5a4dacf

Please sign in to comment.