I am trying to implement singin functioanlity using angular2 , Read from official documentation also from here , But didn\'t get how the flow is going on. my questions are
I suggest looking at great real world example here https://github.com/gothinkster/angular-realworld-example-app which uses oauth. I also implemented my sample angular app with full working client/server code to login to Facebook, Linkedin and Google https://github.com/anjmao/adify using ExpressJs and PassportJs.
If you use AngularFire2, then you can get it done by just one line and that is
logintwitter(){
this.afAuth.auth.signInWithPopup(new firebase.auth.TwitterAuthProvider());
}