What's the best way to authenticate and authorize a web and api solution like MERN Stack?
问题 I'm trying to find the best way to implement authorization. At this time, only thing I need is a simple free account, but later I may include user roles for a "premium" account using a payment system like stripe. I have already started reading and experimenting with Auth0 but then found some other ways I can do it. Passport.js + MongoDB, I've seen some examples and work great but I think it is missing a way to control users, rules etc with a friendly panel (like Auth0) Using Auth0 and setting