Skip to content

Commit

Permalink
Merge pull request #328 from okta/jn-allow-https-redirect-urls
Browse files Browse the repository at this point in the history
Allow HTTPS redirect URLs.
  • Loading branch information
JayNewstrom authored Jun 30, 2022
2 parents daa942e + afc9ce7 commit 2d9b4a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 2d9b4a6

Please sign in to comment.