node.js - Using Oauth2 Node library in React app -


currently have react app, there need authenticate using oauth2. have server, url's,callbacks, , clients already, thing need exchange code sent oauth2 server access token.

i reviewing libraries made javascript handle these situations, example:

i trying simple-oauth2 see it's made node.js applications, , use require import libraries. question is, can use kind of libraries on client side using react? if so, correct way import library inside component? because readin examples focus on express/node apps. not javascript or node developer need in this.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -