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:
- Click Continue with Hellō
- Click home and click profile again, notice how your session is being used through a token stored in a cookie.
- Update your profile by clicking Update Profile with Hellō
- Click logout and try to go to the profile page again. You'll get redirected to the Hellō consent URL.