Hello, I need some help with role-based authentication with react and express, I used Passport-local strategy for the authentication it works well for “normal” users, but I don’t know how to do it for admins and I also need to have another type of users who will have protected routes, admins also, of course, have private routes, I searched on google I can’t help finding something with the MERN stack and Graphql.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Express, React-Router Auth for one admin user? | 5 | 1526 | February 2, 2021 | |
|
Authentication, Node Express with React
|
3 | 536 | June 1, 2021 | |
|
Add authentication for React app
|
5 | 3311 | January 16, 2021 | |
| How to implement social authentication for reactjs front-end and express backend | 3 | 1204 | February 2, 2021 | |
| Role Based Access Control, secure and correct way? | 8 | 3689 | June 1, 2021 |