havard / node-openid

OpenID for Node.js
MIT License
293 stars 100 forks source link

Fix verifyAssertion to support HapiJS request.method #146

Closed joseraffucci closed 8 years ago

joseraffucci commented 8 years ago

Fix verifyAssertion to support HapiJS request.method Link to HapiJS route docs. HapiJS returns the method as a lowercase string, by adding the toUpperCase() this fixes the issue and OpenID works correctly. This should also continue to work with other frameworks like express.