From afc9ce79f807417cd62aca0bed75306c9a689a12 Mon Sep 17 00:00:00 2001 From: Jay Newstrom Date: Thu, 30 Jun 2022 10:42:21 -0500 Subject: [PATCH] Allow HTTPS redirect URLs. --- .../java/com/okta/oidc/clients/web/SyncWebAuthClientImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/src/main/java/com/okta/oidc/clients/web/SyncWebAuthClientImpl.java b/library/src/main/java/com/okta/oidc/clients/web/SyncWebAuthClientImpl.java index 9097e0ba..d0072915 100644 --- a/library/src/main/java/com/okta/oidc/clients/web/SyncWebAuthClientImpl.java +++ b/library/src/main/java/com/okta/oidc/clients/web/SyncWebAuthClientImpl.java @@ -124,7 +124,7 @@ private boolean isRedirectUrisRegistered(@NonNull Uri uri, Activity activity) { if (activityInfo.name.equals(OktaRedirectActivity.class.getCanonicalName()) && activityInfo.packageName.equals(activity.getPackageName())) { found = true; - } else { + } else if (!uri.getScheme().equals("https")) { Log.w(TAG, "Warning! Multiple " + "applications found registered with same scheme"); //Another installed app have same url scheme.