simplici_auth 1.0.1
simplici_auth: ^1.0.1 copied to clipboard
A Flutter package for integrating SimpliciAuth with Google OAuth in Flutter applications. Provides webview-based authentication with customizable configuration and comprehensive OAuth handling.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.1 - 2025-01-12 #
Fixed #
- onStepChanged URL handling: Restored functionality to automatically open URLs in internal browser when triggered by step change events
- Event data parsing: Improved parsing of step change event data to properly extract URLs and other parameters
- Internal browser integration: Fixed integration with internal browser for OAuth flows
- Google OAuth configuration: Enhanced extraction and handling of Google OAuth configuration from instance details
Changed #
- WebView implementation: Updated to use webcomponent HTML generation instead of direct URL loading for better event handling
- Event handlers: Added proper JavaScript handlers for step changes and auth completion events
- Debug logging: Improved debug logging for better troubleshooting of authentication flows
1.0.0 - 2025-01-12 #
Added #
- Initial release of SimpliciAuth Flutter package
- SimpliciAuthWebView: Main widget for displaying authentication interface
- SimpliciAuthConfig: Configuration class with comprehensive customization options
- Cross-platform support: Works on iOS, Android, Web, macOS, Linux, and Windows
- OAuth integration: Complete OAuth 2.0 flow with Google
- Callback support: Multiple callback functions for different authentication events
- Debug mode: Optional debug logging for development
- Custom styling: Support for custom CSS and user agents
- Example app: Complete example demonstrating package usage
Features #
- Configurable instance ID, environment, and platform settings
- Support for combined input and auto navigation options
- Token exchange and user data retrieval
- Error handling and success callbacks
- Internal browser for OAuth flows
- Comprehensive documentation and README