-
Notifications
You must be signed in to change notification settings - Fork 1
Authentication
Zeikar edited this page Feb 16, 2025
·
1 revision
Commentarium supports Firebase authentication, allowing users to log in seamlessly using Google or anonymously. This authentication system ensures security and ease of use.
- Google Sign-In: Users can log in using their Google account for a quick and secure experience.
- Anonymous Login: Users can participate without creating an account, with an option to upgrade to a registered account later.
- Users click the Sign in with Google button.
- Firebase handles authentication and returns a user session.
- The user profile is linked to their Google account, enabling them to comment and vote.
- Users can enter Commentarium without signing in by choosing Anonymous Mode.
- They receive a temporary unique identifier to comment and vote.
- If they decide to register later, their activity can be linked to a Google account.
Commentarium uses Firebase Authentication API:
-
signInWithPopupfor Google authentication -
signInAnonymouslyfor guest users -
linkWithCredentialfor upgrading anonymous accounts
- Security: Protects user data and ensures safe access.
- Personalization: Users can track their comments and votes.
- Seamless Experience: Easy transition from anonymous to registered accounts.