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 -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -