keycloak_wrapper 1.5.0
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
externalUserAgentparameter toKeycloakConfigfor iOS/macOS authentication customization (#74). - Support for
ExternalUserAgentenum 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.yamlfile 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
initializemethod. Refer to the example for the changes. - The
getUserInfomethod will return the cached user information if the request fails or is offline (#41).
Removed #
- Deprecated
updateTokenmethod. - All test files since users must log in via the webview which is untestable.
