skip to Main Content

[Passportjs][Angular5] No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access – Twitter API

I am trying to integrate Nodejs backend api with Angular. I have implemented passpor-google, passport-github, passport-twitter strategy on the backend application. My backend App url is http://localhost:3000 My Frontend App url is http://localhost:4200 Passport Routes authRouter.get('/github', passport.authenticate('github')); authRouter.get( '/github/callback', passport.authenticate('github',…

VIEW QUESTION

[Passportjs][Angular5] No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access – Twitter API

I am trying to integrate Nodejs backend api with Angular. I have implemented passpor-google, passport-github, passport-twitter strategy on the backend application. My backend App url is http://localhost:3000 My Frontend App url is http://localhost:4200 Passport Routes authRouter.get('/github', passport.authenticate('github')); authRouter.get( '/github/callback', passport.authenticate('github',…

VIEW QUESTION
Back To Top
Search