Twiiter Auth in Angular 2


I want to know that how can I implement twitter authentication in Angular 2 as twitter does not support CORS and angular 2 request from browser is generated with CORS and it crashes with the status code of 400 saying Bad Request.


You’d have to use a proxy of some kind - that’s what CodebirdJS is doing.


is there any option for it???


The option is to use a server-side proxy. There is no support for CORS.