Hive Authentication & HiveSuite Development Update: Web2/Web3 Switching, Storage & Profile Identity Fixes
Hive Authentication & HiveSuite Development
hive-authentication — Authentication Reliability Improvements
CryptoJS Gravatar Handling Fix
- Resolved an issue where CryptoJS was not defined during Web2 Gravatar handling.
- Fixed the affected Web2 avatar processing flow.
- Improved reliability when resolving profile information for Web2 users.
- Prevented the missing dependency from causing authentication-related runtime problems.
This ensures Web2 users can continue to receive the correct profile and avatar information without errors during the authentication flow.
CryptoJS & Web2 Gravatar Fix
Web2 & Web3 Account Deduplication
- Added account deduplication logic to prevent duplicate Web2 and Web3 accounts from being stored.
- Prevented authentication storage from unnecessarily growing with repeated account entries.
- Improved account state consistency when the same identity is encountered through different authentication flows.
This keeps the local account store cleaner and makes account switching more predictable.
Account Deduplication & Storage Cleanup
Aioha Logout Fix
- Improved logout handling for Aioha-based authentication.
- Safely handles attempts to remove a login that no longer exists.
- Prevents unnecessary errors when an account has already been removed from the local authentication state.
- Makes logout behavior more resilient across different authentication scenarios.
Seamless Account Switching
- Improved switching between Web2 and Web3 accounts.
- Ensured authentication state is updated immediately when the active account changes.
- Reduced the possibility of previous account information remaining visible after switching.
- Improved synchronization between authentication providers and the active user session.
The result is a smoother experience for users who regularly move between Web2 and Web3 identities.
Web2 & Web3 Account Switching
Instant User State Synchronization
- Fixed stale username information after account switching.
- Fixed stale
isWeb2state after switching between authentication types. - Ensured the active user's identity is reflected immediately throughout HiveSuite.
- Improved synchronization between the authentication store and the visible application state.
This prevents situations where the application may temporarily display the previous account after a successful account switch.
Instant User State Synchronization
Web2 → Web3 Account Switching
Web3 Switch Reset
- Improved the transition from Web2 authentication to Web3 authentication.
- Switching to Keychain, HiveAuth, or Private Key authentication now immediately resets:
isWeb2: false
- This ensures the application correctly recognizes the newly selected identity as a Web3 account.
- Prevents Web2-specific UI or onboarding logic from remaining active after switching to a blockchain account.
This provides a cleaner separation between Web2 and Web3 account states throughout the application.
Web2 to Web3 Account Switching
HiveSuite — Friends Feed Improvements
Web3 Friends Feed
- Fixed the Friends Feed behavior for Web3 users.
- Web3 users now directly load their blockchain-based friends feed instead of being redirected into Web2 onboarding behavior.
- Ensured the appropriate feed source is selected based on the active authentication type.
- Improved the experience for users who are already connected to Hive through an on-chain account.
Web3 Friends Feed
HiveSuite — Web2 Multi-Follow Improvements
Follow Multiple Creators
- Improved the Web2 follow onboarding experience.
- Web2 users can now select and follow multiple creators before continuing.
- Users are no longer forced to complete the onboarding process one creator at a time.
- Improved the overall flow for discovering and following relevant creators during Web2 onboarding.
This makes the onboarding process faster and gives new users more control over the creators they want to follow.
Web2 Multi-Follow Onboarding
Hive Username Detection Improvements
Hyphenated Hive Usernames
Fixed username detection for Hive accounts containing hyphens.
Added support for usernames such as:
hive-106313good-karma
Improved account recognition so valid Hive usernames containing hyphens are no longer incorrectly treated as Web2 identities or invalid usernames.
This is important for maintaining compatibility with the full range of valid Hive account names.
Hive Username Detection
HiveSuite — Web2 Profile Identity Fix
Web2 Name, Avatar & Provider Detection
- Fixed Web2 profile name detection.
- Fixed Web2 profile avatar detection.
- Fixed Web2 authentication provider detection.
- Ensured profile information is correctly resolved from the active Web2 identity.
- Improved consistency when moving between profiles, feeds, and other application areas.
Web2 Profile Identity
Removed Hardcoded Google Provider Fallback
- Removed the hardcoded Google provider fallback.
- Web2 profiles now use the actual authentication provider information.
- Prevented accounts authenticated through other providers from being incorrectly displayed as Google accounts.
- Improved the accuracy of provider badges and identity information.
Web2 Provider Detection
Preserved Web2 Identity Across Navigation
- Preserved the complete Web2 identity while navigating between profiles and feeds.
- Ensured name, avatar, provider, and Web2 identity information remain synchronized.
- Reduced cases where profile information could disappear or revert during navigation.
- Improved consistency across different Web2 profile entry points.
Web2 Identity Across Profile & Feed Navigation
🚀 Powering the Hive Ecosystem
- Continuously improving HiveReactKit with reusable components that make Hive applications richer and more responsive.
- Building shared infrastructure for media rendering, translations, and smoother community navigation across the Hive ecosystem.
- Contributing open-source enhancements that improve usability, consistency, and long-term maintainability for Hive frontends using HiveReactKit.
Final Note
This post has been refined with the help of AI to improve readability and structure.
The development updates and optimized version are both available for reference.
🔗 More Links
| HiveSuite App | Vote as Witness | Support via Discord |
Use HiveSuite. Invite your friends. Stay active. Earn rewards.