I think this is in most cases over complication of a problem and would try to avoid it at any cost.
Dec 29, 2019
2
Level 2
API multiple auth
hi i want to build multiple API auth system which as example user, admin, doctor, so i want to build for each one of this and let the user login and register, the problem is i have try to use passport and jwt and face some problems like the user when i login give me unauthorized i think because it use the user model note my won model that i have create so i want full description or tutorial in this point
Please or to participate in this conversation.