Skip to main content
Version: 3.x

Auth Connect Changelog

[3.10.0] (2023-01-09)

Features

  • add getRawIdToken()

[3.9.5] (2022-07-06)

Bug Fixes

  • android: remove okhttp dependency and connection factory
  • deps: Bump docusaurus version, etc.

[3.9.4] (2022-05-11)

Bug Fixes

  • Adds support for running in non-secure context (Capacitor Live Reload)
  • Auth Connect can fail to login on web if implicitLogin is Current

[3.9.3] (2021-12-13)

Bug Fixes

  • auth-react: Refreshing accessToken, idToken and refreshToken through provider

[3.9.2] (2021-11-16)

Bug Fixes

  • Fix a regression where an IV5 onLock callback was not being set

[3.9.1] (2021-11-10)

Bug Fixes

  • Fix an issue where localStorage or other non-IV interfaces could be recognized as IV storage type.

[3.9.0] (2021-10-27)

Bug Fixes

  • Clear state in auth-react in response to IV5 vault lock event
  • fixes the login failing when deviceReady does not fire

Features

  • Add config for OneLogin

[3.8.0] (2021-09-07)

Features

  • Adding safari option to iosWebView

[3.7.0] (2021-07-29)

Bug Fixes

  • Fixing Ping logout url

Features

  • Adding Storage Provider for Identity Vault 5
  • core: Update androidX browser plugin to 1.3.0, and explicitly set the share state in the builder

[3.6.0] (2021-05-12)

Features

  • core: Add ability for override url to persist across app refreshes & open/close.

[3.5.0] (2021-05-07)

Bug Fixes

  • azure: remove note about PKCE not being supported
  • core: Fix an issue where client secret could be sent as a query param/json body with string 'undefined' when left undefined that caused issue with Okta.
  • general: favor end_session_endpoint over logout_endpoint

Features

  • auth-connect-react: add checkIsAuthenticated method to react

[3.4.2] (2021-04-08)

Bug Fixes

  • api: remove another note about PKCE not being supported
  • azure: remove notes about PKCE not being supported
  • core: removed circular reference which caused IonicAuth to fail in some environments, closes #cap17 , closes [#cap17]

[3.4.1] (2021-03-18)

Note: Version bump only for package root

[3.3.1] (2020-12-10)

Bug Fixes

  • fix issue where handleLogoutCallback didn't wait for storage to clear before resolving promise

[3.3.0] (2020-12-04)

Features

  • Web: Added support for PKCE flow with Azure B2C

[3.2.1] (2020-11-06)

Bug Fixes

  • Fix an issue in syntax that required typescript 3.8 or above.

[3.2.0] (2020-11-06)

Features

  • add keycloak support
  • Add public method to clear storage without invalidating tokens

Bug Fixes

  • ios: prevent no such module Cordova
  • Fix an issue where the general provider would only use logout_endpoint and not check for end_session_endpoint which caused it not to work with some providers.

[3.1.5] (2020-10-28)

Bug Fixes

  • allow additional parameters to go through
  • fixing logout issues in the web implicit login flow with new handleLoginCallback and handleLogoutCallback methods
  • using native storage on devices to avoid web storage being cleared

[3.1.4] (2020-09-02)

Bug Fixes

  • fix bug with localstorage provider where auth response wasn't serialized/deserialized correctly
  • remove unneeded redirectUri param from cognito logout
  • auth: export TokenStorageProvider
  • ping: don't always include client secret , closes [/tools.ietf.org/html/draft-ietf-oauth-browser-based-apps-04#section-7]

[3.1.3] (2020-07-28)

Bug Fixes

  • fix issue with logout for identity server

[3.1.2] (2020-07-24)

Bug Fixes

  • Fix issue where IonicGeneralAuthOptions was not exported.

[3.1.1] (2020-07-09)

Bug Fixes

  • web-auth: add missing await to PKCE refresh

[3.1.0] (2020-06-29)

Features

  • Add official IdentityServer intergration

Bug Fixes

  • fix a bug where the handleCallback method did not properly unwrap the auth result promise

[3.0.1] (2020-06-24)

Bug Fixes

  • auth: do not resolve when replacing URL

[3.0.0] (2020-06-10)

⚠ BREAKING CHANGES

  • IE 11 is no longer supported.
  • Plugin must be imported and bundled into your app for use. (Code is no longer being exported to window.)

Bug Fixes

  • Properly decode JWTs with non-ASCII characters [SE-200]

  • remove shims

  • switch to esm

[2.2.1] (2020-05-29)

Bug Fixes

  • okta: fix logout configuration

[2.2.0] (2020-05-27)

Features

  • Okta integration

Bug Fixes

  • android: make source-file target-dir lowercase
  • web: add client secret to postToken body if required

[2.1.0] (2020-04-23)

Features

  • add support for Ping

Bug Fixes

  • web: add client secret to postToken body if required

[2.0.1] (2020-04-17)

Bug Fixes

  • make client_secret optional for Cognito

[2.0.0] (2020-04-17)

⚠ BREAKING CHANGES

  • AndroidX is now required in projects with auth v2.

Features

  • add isAccessTokenExpired, isRefreshTokenAvailable, getRefreshToken, refreshSession
  • Add support for Saleforce
  • isAccessTokenAvailable
  • android: AndroidX upgrade

Bug Fixes

  • Android: Fix an issue where Auth Connect didn't work on Android 10.

  • await the access token from storage

  • Fix a bug where if a provider doesn't return when the access token expires it defaults to be immediately expired.

  • Fix an issue where if refresh failed isAuthenticated still returned true

  • ios: move AuthenticationServices import from .m to .h for Capacitor compat

  • web: catch error on refresh frame creation

  • web, cognito: fix for SE-150. Added logout_uri to list of valid params.

  • Add upgrading to v2 instructions

[1.8.1] (2020-04-01)

Bug Fixes

  • await the access token from storage

[1.8.0] (2020-04-01)

Features

  • isAccessTokenAvailable

[1.7.0] (2020-03-27)

Features

  • add isAccessTokenExpired, isRefreshTokenAvailable, getRefreshToken, refreshSession

[1.6.2] (2020-03-17)

Bug Fixes

  • Android: Fix an issue where Auth Connect didn't work on Android 10.

[1.6.1] (2020-03-16)

Bug Fixes

  • Fix an issue where if refresh failed isAuthenticated still returned true

[1.6.0] (2020-03-13)

Features

  • Add support for Saleforce

Bug Fixes

  • Fix a bug where if a provider doesn't return when the access token expires it defaults to be immediately expired.

[1.5.4] (2020-03-10)

Bug Fixes

  • web: catch error on refresh frame creation

[1.5.3] (2020-03-09)

Bug Fixes

  • web, cognito: fix for SE-150. Added logout_uri to list of valid params.

[1.5.2] (2020-02-24)

Bug Fixes

  • web: throw error if POST to token endpoint failed

[1.5.1] (2020-02-21)

Bug Fixes

  • web: properly refresh token when using PKCE

[1.5.0] (2020-02-17)

Features

  • web: add PKCE auth flow option

[1.4.0] (2020-02-13)

Features

  • reject if user closed the auth browser

Bug Fixes

  • ios, android, web: SE-132: allow client_secret to be passed into authorization calls.
  • propagate network errors on login
  • update to general to send client secret in payload of token call

[1.3.5] (2019-12-17)

Bug Fixes

  • ios: prevent blank screen on SFSafariViewController presentation

[1.3.4] (2019-12-04)

Bug Fixes

  • android: implement IonicSecureWebView.hide() to avoid invalid action
  • ios: add in new interface for ios 13 when using ASWebAuthenticationPresentationContextProviding

[1.3.3] (2019-11-08)

Bug Fixes

  • ios: rename AFNetworking symbols that conflic with advanced-http plugin

[1.3.2] (2019-11-01)

[1.3.1] (2019-10-29)

[1.3.0] (2019-10-09)

Bug Fixes

  • make sure interfaces are not snake cased, move some parameters off to method to make them more dynmaic, clean up some parameter checking to be more clear, make some dictionary combines clearer.

Features

  • ios,android,web: changes for supporting implicit path (aka web) in window rather than in tabs. allow pass through of login_hint value for azure/auth0 and domain_hint for azure. fixes for param handling

[1.2.0] (2019-09-16)

Bug Fixes

  • all: remove unneeded plugin deps
  • ios, web, android: make sure the access token is valid before returning it
  • web: password reset error was being ignored and needed to check (hash) not (query params) for value
  • Web: Fix issue with IE 11 not working.

Features

  • ios,android,web: support acquiring multiple tokens from an oauth source (especially azure ad), also fix some issues with refresh for the web path. The major change is that getToken now has two optional paramters, they both must be passed in or neither. The parameters are an id for the token being acquired and the specific scope for the token being acquired.

[1.1.4] (2019-08-28)

[1.1.3] (2019-08-21)

[1.1.2] (2019-08-14)

[1.1.1] (2019-07-29)

Bug Fixes

  • Android, iOS: fix incorrect package.json dependency

[1.1.0] (2019-07-29)

Features

  • iOS, Android: Remove extra plugin dependencies and unify flow across Android and all iOS webviews.

Contents