keycloak_wrapper 1.5.0 copy "keycloak_wrapper: ^1.5.0" to clipboard
keycloak_wrapper: ^1.5.0 copied to clipboard

Keycloak Single Sign-On (SSO) authentication package for Flutter framework.

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.5.0 - 2026-02-26 #

Added #

  • Add externalUserAgent parameter to KeycloakConfig for iOS/macOS authentication customization (#74).
  • Support for ExternalUserAgent enum with three options:
    • asWebAuthenticationSession (default): Uses ASWebAuthenticationSession APIs.
    • ephemeralAsWebAuthenticationSession: Uses ephemeral sessions for enhanced privacy.
    • sfSafariViewController: Uses SFSafariViewController to avoid system prompts during logout.
  • Add docker-compose.yaml file to run Keycloak container.

Fixed #

  • Handle "token_failed" error by automatically logging the user out if the session is killed on the server (#57).
  • Disallow multiple concurrent call operations (#72).

Changed #

  • BREAKING: Configuration is now a required parameter to the initialize method. Refer to the example for the changes.
  • The getUserInfo method will return the cached user information if the request fails or is offline (#41).

Removed #

  • Deprecated updateToken method.
  • All test files since users must log in via the webview which is untestable.
32
likes
160
points
1.75k
downloads
screenshot

Documentation

API reference

Publisher

verified publisherfafifi.is-a.dev

Weekly Downloads

Keycloak Single Sign-On (SSO) authentication package for Flutter framework.

Repository (GitHub)
View/report issues

Topics

#authentication #keycloak #oauth2 #openidconnect

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_appauth, flutter_secure_storage, shared_preferences

More

Packages that depend on keycloak_wrapper