Serverless OAuth is now possible
After loading oauth.js, you can use OAuth object to authorize your user like this:
// Initialize with your OAuth.io app public key OAuth.initialize('Public key'); OAuth.popup('facebook', function(error, success){ // See the result below });