@byteowls/capacitor-oauth2
Advanced tools
Changelog
[4.0.2] - 2023-04-11
Changelog
[3.0.0] - 2021-08-02
windowReplace
that defaults to undefined. Used in window.open()
4th param.
This will fix https://bugs.chromium.org/p/chromium/issues/detail?id=1164959 #153additionalResourceHeaders
to base optionslogsEnabled
to base options. If enabled extensive logs are written. All logs are prefixed with I/Capacitor/OAuth2ClientPlugin
across all platforms.Changelog
[2.1.0] - 2020-08-27
authorizationBaseUrl
contains appleid.apple.com
.
This is needed for other platforms and iOS <=12 anyway. Android, web, iOS <12 are not supported in this release.Changelog
[2.0.0] - 2020-04-20
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.accessTokenEndpoint
but you configured one as base parameter you have to
overwrite it in the according platform sections. accessTokenEndpoint: ""
see Google example in README.redirectUrl
to base parameter and make it overwritable in the platform sections. closes #84.
customScheme
replaced by redirectUrl
customScheme
replaced by redirectUrl
OAuth2CustomHandler#logout
. closes #58
activity
as 1st argumentviewController
as 1st argumenthandleResultOnNewIntent
for the alternative and handleResultOnActivityResult
for the default. closes #52, #55.code
and token
was removed. Devs can configure anything but are responsible for it as well. closes #86.Changelog
[1.1.0] - 2020-01-22
Changelog
[1.0.1] - 2019-09-19
pkceCodeChallenge
was always undefined
because promise was not awaited properly #53 (thx @nicksteenstra)