JavaScript authentication for Single Page Applications without server (Facebook style)


I’m struggling to find any kind of documentation for JS-only sign in functionality without relying on server. I’m hoping for something like the facebook sign in style authentication where a pop-up asks the user for permissions and the operation response is returned to the original window. I’m still unsure about this being possible…

Any clues?

PS. Some context: Basically, after “signing in with twitter” I need to get the following user data from the API: email, full name, people user follows and avatar in order to create the user or log them in.


There is no javascript-only option for authenticating a Twitter user on the platform at this time.