capacitor-sso-webview 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -33,10 +33,10 @@ public class SSOWebViewPlugin extends Plugin {
|
|
|
33
33
|
title,
|
|
34
34
|
new SSOWebView.Listener() {
|
|
35
35
|
@Override
|
|
36
|
-
public void onRedirectIntercepted(String u, String code, String state) {
|
|
36
|
+
public void onRedirectIntercepted(String u, String code, String state, String body) {
|
|
37
37
|
JSObject ret = new JSObject();
|
|
38
|
-
ret.put("url",
|
|
39
|
-
ret.put("code",
|
|
38
|
+
ret.put("url", u);
|
|
39
|
+
ret.put("code", code);
|
|
40
40
|
ret.put("state", state);
|
|
41
41
|
ret.put("body", body);
|
|
42
42
|
notifyListeners("ssoRedirect", ret);
|