jfromaniello / passport.socketio

access passport.js authenticated user information from socket.io connection
655 stars 81 forks source link

protocol work with file:/// #131

Open weepy opened 7 years ago

weepy commented 7 years ago

I'm wondering if it would be possible to use this to authenticate from a html file that's hosted by a file system.

Of course CORS does not work, but WebSockets do.

Essentially this is for a cordova based app.

Thanks