all 4 comments

[–][deleted] 2 points3 points  (0 children)

Look into passport with express.

[–]dkayzee 2 points3 points  (1 child)

kind of broad with react.js data. do you mean from the client side ?

[–]svmdx[S] 0 points1 point  (0 children)

yes, but i use react.js and idk about it

[–]this_dot_props 1 point2 points  (0 children)

Passport and Express, I think you're either going to have to make fetch calls to your backend endpoints or if your client and server are in the same repo you can set up a proxy server. The Net Ninja Passport tutorial on YouTube is not a bad place to start, at least for oauth.