Releases: capacitor-community/generic-oauth2
Releases · capacitor-community/generic-oauth2
2.0.0
Breaking Changes
- Core: Capacitor 2.x is new minimum peer dependency. closes #80.
responseTypeis required. Default values were removed. In favor of configuring anything. closes #86.pkceDisabledwas replaced withpkceEnabled, which is NOT enabled by default. If you like to use PKCE set this to true.- If a flow must not have a
accessTokenEndpointbut you configured one as base parameter you have to
overwrite it in the according platform sections.accessTokenEndpoint: ""see Google example in README. - Add
redirectUrlto base parameter and make it overwritable in the platform sections. closes #84.- Android:
customSchemereplaced byredirectUrl - iOS:
customSchemereplaced byredirectUrl
- Android:
- Additional method argument for
OAuth2CustomHandler#logout. closes #58- Android:
activityas 1st argument - iOS:
viewControlleras 1st argument
- Android:
See CHANGELOG for details.
1.1.0
1.0.1
1.0.0-beta.4
Bug fix
- #29 Remove base64 js lib so the plugin can be used in a web native environment without having to use webpack
1.0.0-beta.3
Bug Fix
- Capacitor version was pinned to beta.16 in podspec file. That prevented the capacitor upgrade to beta.18 by using
npx cap sync ios
1.0.0-beta.2
Features
- #4 When using Code flow PKCE is enabled by default. If you do not want that disable it with the overwritable option
pkceDisabled: boolean - #18 A overwritable option
additionalParameters: {[key: string]: string}was added. Note: Only string values are allowed! - #23 Error messages were unified and replaced with codes. This allowed better error handling. See the available error codes.
- On platform web a specific option
windowTarget: stringwas added. It might help solving #21
1.0.0-beta.1
Capacitor version required
1.0.0-beta.17
Features
- Implicit flow for web, Android and iOS
Tested with Google and Facebook on
- Android 8.0 - Huawei P20 Lite
- Android 7.0 - Huawei P9
- iOS 12 - iPhone SE
- Win10 - Chrome 71, Edge, Firefox 65
- macOS Mojave - Safari 12, Chrome 71,