Skip to content

Commit

Permalink
fix: correct authz fallback claim
Browse files Browse the repository at this point in the history
  • Loading branch information
nickshine committed Oct 5, 2020
1 parent 4682a2a commit 26cbf71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion authz/microsoft.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ function isAuthorized(decoded, request, callback, unauthorized, internalServerEr
}

function getSubject(decoded) {
return decoded.payload.upn || decodec.payload.sub;
return decoded.payload.upn || decoded.payload.sub;
}

exports.isAuthorized = isAuthorized;
Expand Down

0 comments on commit 26cbf71

Please sign in to comment.