oidc 0.13.0
oidc: ^0.13.0 copied to clipboard
A comprehensive OpenIdConnect plugin that works on all platforms (android, ios, windows, linux, web, macos)
0.13.0 #
Note: This release has breaking changes.
0.12.1+1 #
- Update a dependency to the latest release.
0.12.1 #
- FEAT: update changelogs to reflect breaking changes and new features for multiple OIDC platforms. (4caca121)
0.12.0 #
- TESTS: Added integration tests to run the official oidc conformance suite, this pumps our test coverage from 22% to almost 45%, effectively doubling it!
- Tests are run on ALL platforms (linux, macos, windows, android, ios, web).
- Tests check the authorization code flow only for now.
- BREAKING FEAT: Support for multiple
OidcUserManagerinstances, by adding theidfield to differentiate them. - FEAT: Updated the example app to use the new
OidcUserManager.id, with the ability to add your own custom managers in the UI.
Important
We have also officially submitted our package to the openid foundation for certification.
0.10.0 #
0.9.0+3 #
- Update a dependency to the latest release.
0.9.0+2 #
- Update a dependency to the latest release.
0.9.0+1 #
- Update a dependency to the latest release.
0.9.0 #
0.7.0 #
Note: This release has breaking changes.
-
BREAKING DEPS: update min flutter version to 3.22.0 and min dart version to 3.4.0
-
FEAT: WASM support
-
BREAKING REFACTOR: moved all the non-flutter code in
OidcUserManagerto theoidc_corepackage asOidcUserManagerBase.- This means that you will have to add
import 'package:oidc_core/oidc_core.dart'in addition to the usualpackage:oidcimport.
- This means that you will have to add
-
FIX: improve
OidcEndpointserror handling. -
FIX: options passed in
OidcUserManagerSettingswere not getting used in implicit auth and logout. -
FEAT: support offline auth via the setting
OidcUserManagerSettings.supportOfflineAuth(falseby default).- This will keep the user logged in even if the app can't contact the server.
Note: While offline auth is convenient for users with unstable internet, it has a security risk, due to not being able to contact the IdP to refresh the token or get user info.
-
FEAT: add
getIdTokentoOidcUserManagerSettings.- This is useful for OAuth IdPs, As it allows the developer to make
OidcUserManageruse the access token as an id token for example.
- This is useful for OAuth IdPs, As it allows the developer to make
-
FEAT: fixed some UI logic in the example.
-
FIX: Opening in new tab not working reliably in Safari for iOS #31.
-
FEAT: introduced a new dart package oidc_web_core which exposes
OidcUserManagerWebandOidcWebStore. They can be used in dart web apps (like ngdart). And also support WASM. -
DOCS: updated the docs website with new entries to the added features.
0.5.2 #
- FEAT: Use package:clock to get the current time instead of
DateTime.now()to simplify testing. - FIX: Attempt to refresh expired tokens on initialization instead of throwing them away.
- Now your users will have to login less.
- This works only when there is a refresh token available.
- Doesn't work with silent authorization (e.g. implicit auth and
prompt: none).
- DOCS: Updated docs and example.
- DEPS: Use
jose_plus: ^0.4.4which uses package:clock as well for JWT validation.
0.5.1 #
- FEAT: Support overriding the discovery document.
- FEAT: added
eventsstream toOidcUserManager.
0.5.0+1 #
- DOCS: added
sessionManagementSettingsto the wiki. - DOCS: add how to use accesstoken to the wiki.
0.5.0 #
- BREAKING CHANGE: separated session management settings into its own class, in
OidcUserManagerSettings.sessionManagementSettingsand disabled it by default.
Migration Guide #
before:
OidcUserManagerSettings(
sessionStatusCheckInterval: //...
sessionStatusCheckStopIfErrorReceived: //...
)
after:
OidcUserManagerSettings(
sessionManagementSettings: OidcSessionManagementSettings(
enabled: true, // false by default.
interval: //...
stopIfErrorReceived: //...
)
)
0.4.3 #
- FEAT: add
refreshToken()toOidcUserManager.
0.4.2 #
- FIX: incorrect state handling.
- FEAT: improve userInfo handling by adding
userInfoSettingstoOidcUserManagerSettings.
0.4.1 #
- FIX: mac os and ios.
- FEAT: added device authorization endpoint.
0.4.0+2 #
- DOCS: fix PKCE link.
0.4.0+1 #
- Update a dependency to the latest release.
0.4.0 #
0.3.1 #
- FEAT: add response form userInfo endpoint to the user object.
0.3.0+1 #
- Update a dependency to the latest release.
0.3.0 #
Note: This release has breaking changes.
- BREAKING CHANGE: all packages.
0.2.2 #
- FEAT: support logout.
0.2.1 #
- FEAT: initial version.
0.2.0+1 #
- Update a dependency to the latest release.
0.2.0 #
- Working authorization code flow, without refresh_token support.
0.1.1+1 #
- Update a dependency to the latest release.
0.1.1 #
- FEAT: added more helpers.
0.1.0+1 #
- Initial release of this plugin.