user3121480
user3121480

Reputation: 51

single sign on for multiple nodejs applications

We have 3 nodejs web application running on same domain name on same vps with multiple subdomains and implementing passport authentication for each. We wanted single user be able to access all application with single account and for that we have added accounts.example.com as fourth application solely for purpose of account management. The requirement is - once user is authenticated in accounts.example.com, how to enable user to access rest of the three web application with that session.

Upvotes: 5

Views: 6754

Answers (2)

Vaibhav Magon
Vaibhav Magon

Reputation: 1503

Try Hands on CanSecurity... It tops the chart for node.js Single sign on.. Hope this proves fruitful https://github.com/deitch/cansecurity

Upvotes: 2

Nelson.li
Nelson.li

Reputation: 581

you can share your session in redis-server.if you use express,you can try to use connect-redis https://github.com/visionmedia/connect-redis

Upvotes: 2

Related Questions