Hello Everyone. Im trying to build an express api. that should cater to 2 types of user a normal user and an admin. whats a good passport strategy to implement for users and for admin. and how can my app distinguish from the two users? Here is a scenario. I want my "normal user" to log in using googleOauth as my passport startegy and for my "admin user" to use jsonwebtoken.
Submitted May 06, 2018 at 02:46PM by AntiqueLow4
No comments:
Post a Comment