nhost_flutter_auth is a Flutter package that integrates Nhost's authentication system into your app, managing user state and enabling secure access to protected resources. It provides real-time updates for sign-in and sign-out events, simplifying the implementation of authentication flows across multiple platforms. With seamless support for Android, iOS, Web, macOS, Windows, and Linux, it allows developers to focus on building features rather than handling authentication logic. The package works with Nhost’s backend services to securely manage sessions and user data.
Use cases
- Secure user login and logout flows
- Real-time authentication state management
- Protecting routes based on user status
- Integrating with Nhost backend services
- Building multi-platform apps with consistent auth
- Enabling role-based access control
Key features
- Real-time auth state updates
- Cross-platform compatibility
- Seamless integration with Nhost backend
- Built-in session management
- Support for sign-in/sign-out callbacks
- Easy setup with minimal configuration
Suitable for
- Flutter apps using Nhost backend
- Developers seeking quick auth setup
- Apps requiring real-time auth state
- Projects targeting multiple platforms
- Teams using Nhost for full-stack development
- Applications needing role-based access
Considerations
- Requires Nhost project setup
- Dependent on Nhost backend availability
- Limited customization without additional code
- May require network permissions on mobile
- Authentication flow assumes Nhost UI components
- Not suitable for non-Nhost backends
