simplici_auth_flutter 1.0.0
simplici_auth_flutter: ^1.0.0 copied to clipboard
A Flutter package for integrating Simplici Auth with Google OAuth in Flutter applications. Provides webview-based authentication with customizable UI and comprehensive OAuth handling.
1.0.0 - 2024-07-09 #
Added #
- β¨ Initial release of Simplici Auth Flutter package
- π Google OAuth 2.0 integration with authorization code exchange
- π WebView-based authentication with custom user agent handling
- π± Cross-platform support (iOS, Android, Web, macOS, Linux, Windows)
- π¨ Fullscreen authentication experience with customizable UI
- π Automatic token exchange and refresh token handling
- π Complete user profile information retrieval from Google
- β‘ Integration with
window.handleHooks
for custom authentication flows - π‘οΈ Comprehensive error handling and logging system
- π¦ Ready-to-use webview components (
SimpliciAuthWebView
,PopupBrowser
,InternalBrowser
) - π― Automatic detection of auth completion via URL monitoring
- π§ Support for instance-specific OAuth configuration
- π Complete documentation and example app
Features #
SimpliciAuthWebView
: Main authentication widget with fullscreen supportPopupBrowser
: Modal browser for OAuth authentication flowsInternalBrowser
: Full-screen browser component- Google OAuth token exchange without requiring client secret
- Automatic user info retrieval using access tokens
- SSO user data integration with webcomponents
- Custom user agent to bypass Google's webview restrictions
- JavaScript bridge for communication between Flutter and webview
Dependencies #
webview_flutter: ^4.2.2
for cross-platform webview supportflutter_inappwebview: ^6.0.0
for advanced webview featureshttp: ^1.1.0
for OAuth token exchange HTTP requests