oidc 0.12.1+2 copy "oidc: ^0.12.1+2" to clipboard
oidc: ^0.12.1+2 copied to clipboard

A comprehensive OpenIdConnect plugin that works on all platforms (android, ios, windows, linux, web, macos)

0.12.1+2 #

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 OidcUserManager instances, by adding the id field 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.11.0 #

Note: This release has breaking changes.

0.10.0 #

Note: This release has breaking changes.

  • REFACTOR: minor lints and refactors. (5ab9af70)
  • BREAKING CHORE(deps): upgrade flutter_appauth to v9.0.0 (#199). (f027af34)

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 #

Note: This release has breaking changes.

  • FIX: oidc not passing options properly. (b2fdf5fe)
  • FEAT: support offline auth. (cced6013)
  • DOCS: update changelogs. (b0ffeb43)
  • BREAKING FIX: Opening in new tab not working reliably in Safari for iOS #31. (2e30028b)

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 OidcUserManager to the oidc_core package as OidcUserManagerBase.

    • This means that you will have to add import 'package:oidc_core/oidc_core.dart' in addition to the usual package:oidc import.
  • FIX: improve OidcEndpoints error handling.

  • FIX: options passed in OidcUserManagerSettings were not getting used in implicit auth and logout.

  • FEAT: support offline auth via the setting OidcUserManagerSettings.supportOfflineAuth (false by 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 getIdToken to OidcUserManagerSettings.

    • This is useful for OAuth IdPs, As it allows the developer to make OidcUserManager use the access token as an id token for example.
  • 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 OidcUserManagerWeb and OidcWebStore. 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.4 which uses package:clock as well for JWT validation.

0.5.1 #

  • FEAT: Support overriding the discovery document.
  • FEAT: added events stream to OidcUserManager.

0.5.0+1 #

  • DOCS: added sessionManagementSettings to 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.sessionManagementSettings and 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() to OidcUserManager.

0.4.2 #

  • FIX: incorrect state handling.
  • FEAT: improve userInfo handling by adding userInfoSettings to OidcUserManagerSettings.

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.
48
likes
155
points
5.9k
downloads

Publisher

verified publisherbdaya-dev.com

Weekly Downloads

A comprehensive OpenIdConnect plugin that works on all platforms (android, ios, windows, linux, web, macos)

Homepage
Repository (GitHub)

Topics

#oidc #openidconnect #oauth #authentication

Documentation

API reference

License

MIT (license)

Dependencies

clock, flutter, http, jose_plus, json_annotation, logging, nonce, oidc_android, oidc_core, oidc_ios, oidc_linux, oidc_macos, oidc_platform_interface, oidc_web, oidc_windows, retry, rxdart, uuid

More

Packages that depend on oidc