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
Post a Comment