diff --git a/changelog.txt b/changelog.txt index 36709bd0b2..6afc424369 100644 --- a/changelog.txt +++ b/changelog.txt @@ -8,6 +8,7 @@ vNext - [PATCH] Fix DualScreenActivity theme color constant (#2737) - [MINOR] [SDL Assessment task] Secure webview settings (#2715) - [MINOR] Fix for App Link Usage in DUNA / SSO scenarios (#2745) +- [MINOR] Add aea app to DUNA browser safelist (#2747) Version 22.0.3 ---------- diff --git a/common4j/src/main/com/microsoft/identity/common/java/ui/BrowserDescriptor.java b/common4j/src/main/com/microsoft/identity/common/java/ui/BrowserDescriptor.java index 1a4fd6fc2a..e160e45b14 100644 --- a/common4j/src/main/com/microsoft/identity/common/java/ui/BrowserDescriptor.java +++ b/common4j/src/main/com/microsoft/identity/common/java/ui/BrowserDescriptor.java @@ -97,6 +97,17 @@ static private BrowserDescriptor getBrowserDescriptorForChrome() { ); } + static private BrowserDescriptor getBrowserDescriptorForAea() { + final HashSet signatureHashes = new HashSet<>(); + signatureHashes.add("Nd3EDftVD0lR3Lz0Odq8NMkWWyM5CT8lahePkMtzvS6YkVYne_Hn5jaDSxrdXkN1s4AywAnav2RnarZvcqVFJQ=="); + return new BrowserDescriptor( + "com.amazon.enterprise.access.android", + signatureHashes, + null, + null + ); + } + /** * Return a list of BrowserDescriptors that are considered safe for the Switch to browser flow. */ @@ -104,6 +115,7 @@ static public List getBrowserSafeListForSwitchBrowser() { final List browserDescriptors = new ArrayList<>(); browserDescriptors.add(getBrowserDescriptorForChrome()); browserDescriptors.add(getBrowserDescriptorForEdge()); + browserDescriptors.add(getBrowserDescriptorForAea()); return browserDescriptors; }