machadogj/node-jwt-sign — pull request #3 by mattmanning (2012-11-27 15:45:57+00:00)
Title: URI escape

Thanks a lot for releasing this package. It's been very helpful.

This commit uses encodeURIComponent to encode the signed jwt. The previous base64urlEscape function was cutting off characters at the end of my jwt, causing it to be malformed and rejected by Google.