Need Help with social networks authentication and redirect problem

เสร็จสมบูรณ์ โพสต์แล้ว 6 ปีที่ผ่านมา ชำระเงินเมื่อจัดส่ง
เสร็จสมบูรณ์ ชำระเงินเมื่อจัดส่ง

I have 2 separate application, Front end is angular 4 based application running on port 4200 and backend is based on node express and MongoDB, which is running on different port 3000. I have implemented the user authentication using passport package in the node and express for various social networks like facebook, google, and twitter.

Now, the problem is, if I call my backend authentication API from the browser directly, it's working fine, ( showing social network site login page and calling callback after login).

But When I call it from angular 4 code, It complains about redirection and CORS.

I am seeking some help, in fixing this problem.

** I cannot send the code to you. We have to solve it on my computer through TeamViewer or any other screen sharing tools.

AngularJS Express JS Node.js NoSQL Couch และ Mongo

หมายเลขโปรเจค: #15121517

เกี่ยวกับโปรเจกต์

6 ข้อเสนอ โปรเจกต์ระยะไกล ใช้งาน %project.latestActivity_relativeTime|แทนที่%

มอบให้กับ:

hoangdv

I know exactly your problem and I can fix this if I can see you source code Relevant Skills and Experience I had the same problem on my project

$25 USD ใน 1 วัน
(1 รีวิว)
0.8

freelancer 6 คน กำลังเสนอราคาในงานนี้ โดยมีราคาเฉลี่ยอยู่ที่ $33

abhinavgaur01

i have recently face the same problem so can help You in this.

$20 USD ใน 1 วัน
(0 รีวิว)
0.0
prokrity10

Dear Sir, When the port or server are different, we need to set up CORS it angularJS. Kind Regards Ahsan habib Relevant Skills and Experience HTML5,D3 Js,CSS3,javascript,D3 JS,Angular js,Node js,Express Js,Mongodb,Bit เพิ่มเติม

$55 USD ใน 1 วัน
(0 รีวิว)
0.0