You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| 2.x | 2.0.0 |[README](https://github.com/moberwasserlechner/capacitor-oauth2/blob/master/README.md)| XCode 11.4 needs this version |
17
+
| 2.x | 2.0.0 |[README](https://github.com/moberwasserlechner/capacitor-oauth2/blob/master/README.md)|Breaking changes see Changelog. XCode 11.4 needs this version |
The plugin on the other will behave differently depending on the existence of certain config parameters:
29
33
30
34
These parameters are:
@@ -35,11 +39,7 @@ These parameters are:
35
39
e.g.
36
40
37
41
If `responseType=code`, `pkceDisable=true` and `accessTokenEndpoint` is missing the `authorizationCode` will be resolve along with the whole authorization response.
38
-
This only works for web and Android. On iOS the used lib does not allows to cancel after the authorization request see #13
39
-
40
-
See the excellent article about OAuth2 response type combinations.
This only works for the Web and Android. On iOS the used lib does not allows to cancel after the authorization request see #13.
43
43
44
44
### Tested / working flows
45
45
@@ -78,7 +78,7 @@ Minimum Capacitor version is **2.0.0**
78
78
79
79
This example shows the common process of configuring this plugin.
80
80
81
-
Although it was taken from a Angular 6 application, it should work in other frameworks as well.
81
+
Although it was taken from a Angular application, it should work in other frameworks as well.
82
82
83
83
### Register plugin
84
84
@@ -176,7 +176,6 @@ But be aware that only the parameters from the accessToken request are included
176
176
* ERR_PARAM_NO_AUTHORIZATION_BASE_URL ... The authorization base url is missing. (web, android, ios)
177
177
* ERR_PARAM_NO_RESPONSE_TYPE ... The response type is missing. (web, android, ios)
178
178
* ERR_PARAM_NO_REDIRECT_URL ... The redirect url is missing. (web, android, ios)
179
-
180
179
* ERR_STATES_NOT_MATCH ... The state included in the authorization code request does not match the one in the redirect. Security risk! (web, android, ios)
181
180
* ERR_AUTHORIZATION_FAILED ... The authorization failed.
182
181
* ERR_NO_ACCESS_TOKEN ... No access_token found. (web, android)
0 commit comments