Company
Date Published
Author
Dan Moore
Word count
3844
Language
English
Hacker News points
None

Summary

The text provides a detailed tutorial on setting up a Single Sign-On (SSO) system using FusionAuth, exemplified through two fictional applications, Pied Piper and Hooli. The SSO allows users to log in once and access multiple applications without re-authenticating. The tutorial guides the reader through configuring FusionAuth, setting up domain names, and writing the necessary server and client-side code using Node.js and Express, including handling user sessions and implementing logout processes. Emphasis is placed on the ease of switching between applications once logged in, highlighting the convenience of SSO. The tutorial also addresses potential browser-specific issues with SSO logout and suggests further enhancements, such as adding roles and creating additional applications. The complete example is available on GitHub for further exploration and modification.