Is there a consumer OAuth2 javascript library that works both in node.js and the browser? I'm working on a common.js module that needs to work in both enviroments and have OAuth2 consume capabilities.
For now the Google Web Toolkit OAuth2 library is available separately.