2021年3月26日星期五

Should I use authentication on both Reactjs and Nodejs

When a user logs in, I store the login variable in redux but when we hit the api request then firstly react.js checks the authentication using redux if loggedin then the node.js checks the authentication and returns the api.

Isn't it unnecessary using authentication on both sides? Why can't I just use authentication on server side only? Your thoughts please on what should I follow.

https://stackoverflow.com/questions/66828182/should-i-use-authentication-on-both-reactjs-and-nodejs March 27, 2021 at 01:05PM

没有评论:

发表评论