Tuesday, 5 June 2018

Node PassportJS Microservice with JWT

This is more curiosity than needing help. I am wondering if it is possible to create a simple Node/Express app that uses Passport and JWT for login/registration for another app. So authentication is handled by one app, and another app uses the same JWT to protect parts of the app.For example AuthApp is running on https://login.app.com main app is running on https://app.com. Login route on the main app is https://login.app.com which does the login, user can then browse protected parts of app.com using the JWT from the AuthApp

Submitted June 05, 2018 at 12:16PM by BrightonTechie

No comments:

Post a Comment