Hellō and iron-session - Authentication example

This example demonstrates how to set up user authentication with Hellō and session management with iron-session. It is based off the with-iron-session example, which uses a signed and encrypted cookie to store session data.

To authenticate with Hellō, click the button below.

Features

  • User authentication and profile management with Hellō
  • Logged in status synchronized between browser windows/tabs
  • Layout based on logged in status
  • All pages are static
  • Session data is signed and encrypted in a cookie

Steps to test the functionality:

  1. Click Continue with Hellō
  2. Click home and click profile again, notice how your session is being used through a token stored in a cookie.
  3. Update your profile by clicking Update Profile with Hellō
  4. Click logout and try to go to the profile page again. You'll get redirected to the Hellō consent URL.