Skip to content

2.0.0

Compare
Choose a tag to compare
@moberwasserlechner moberwasserlechner released this 20 Apr 14:09

Breaking Changes

  • Core: Capacitor 2.x is new minimum peer dependency. closes #80.
  • responseType is required. Default values were removed. In favor of configuring anything. closes #86.
  • pkceDisabled was replaced with pkceEnabled, which is NOT enabled by default. If you like to use PKCE set this to true.
  • If a flow must not have a accessTokenEndpoint but you configured one as base parameter you have to
    overwrite it in the according platform sections. accessTokenEndpoint: "" see Google example in README.
  • Add redirectUrl to base parameter and make it overwritable in the platform sections. closes #84.
    • Android: customScheme replaced by redirectUrl
    • iOS: customScheme replaced by redirectUrl
  • Additional method argument for OAuth2CustomHandler#logout. closes #58
    • Android: activity as 1st argument
    • iOS: viewController as 1st argument

See CHANGELOG for details.