davidwood/node-multipass — pull request #1 by rbrcurtis (2012-08-29 19:12:43+00:00)
Title: uservoice compatibility

I'm not sure exactly how it happened but it seems apparent that tender uses uservoice's sso code which would make you think that this module would work for tender as well. It doesn't, and I believe the reason for that is that the way that you are padding the data isn't the way that other's do (I understand that php does it a nonstandard way, which may be related). nodejs has auto-padding now which looks to work very well, and also encodeURIComponent will encode the token effectively for both services.

In summary, these changes should make the module work for uservoice while not breaking it at all for tender.