bapp_auth 0.1.0 copy "bapp_auth: ^0.1.0" to clipboard
bapp_auth: ^0.1.0 copied to clipboard

Cross-platform OAuth package for Bapp authentication with Keycloak integration and API client

0.1.0 #

  • Initial release
  • Cross-platform OAuth Support:
    • Android (custom URL schemes)
    • iOS (custom URL schemes)
    • macOS (custom URL schemes)
    • Web (origin-based redirects)
    • Windows (localhost redirects)
    • Linux (localhost redirects)
  • Keycloak OAuth Integration:
    • SSO OpenID Connect flow with PKCE
    • Browser session reuse - Users already logged in to Keycloak in browser won't need to log in again!
    • Private/ephemeral mode option for fresh logins
    • Device authentication flow support
    • Automatic platform detection for redirect URIs
  • Token Management:
    • Token persistence with SharedPreferences
    • Automatic token refresh
    • Token expiration detection
  • Comprehensive API Client:
    • Inspired by Python SDK patterns
    • Token and Bearer authentication
    • CRUD operations for content types
    • Task, Action, and Widget APIs
    • Pagination support (streaming and bulk)
    • Multi-tenancy support
    • Automatic retry with exponential backoff
    • Error handling
  • Developer Experience:
    • PlatformConfig helper for automatic redirect URI detection
    • Complete platform configuration guide
    • Working example app with UI for all platforms
    • Comprehensive test coverage (12 tests)
1
likes
0
points
66
downloads

Publisher

verified publishercbsoft.ro

Weekly Downloads

Cross-platform OAuth package for Bapp authentication with Keycloak integration and API client

Homepage

License

unknown (license)

Dependencies

crypto, flutter, flutter_web_auth_2, http, shared_preferences, url_launcher

More

Packages that depend on bapp_auth