Skip to content

Commit 512bd34

Browse files
authored
Add aea app to DUNA browser safelist (#2747)
Amazon wants to use their own browser as CCT provider so adding this to browser safelist for DUNA.
1 parent 6a3a974 commit 512bd34

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

changelog.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ vNext
88
- [PATCH] Fix DualScreenActivity theme color constant (#2737)
99
- [MINOR] [SDL Assessment task] Secure webview settings (#2715)
1010
- [MINOR] Fix for App Link Usage in DUNA / SSO scenarios (#2745)
11+
- [MINOR] Add aea app to DUNA browser safelist (#2747)
1112

1213
Version 22.0.3
1314
----------

common4j/src/main/com/microsoft/identity/common/java/ui/BrowserDescriptor.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,13 +97,25 @@ static private BrowserDescriptor getBrowserDescriptorForChrome() {
9797
);
9898
}
9999

100+
static private BrowserDescriptor getBrowserDescriptorForAea() {
101+
final HashSet<String> signatureHashes = new HashSet<>();
102+
signatureHashes.add("Nd3EDftVD0lR3Lz0Odq8NMkWWyM5CT8lahePkMtzvS6YkVYne_Hn5jaDSxrdXkN1s4AywAnav2RnarZvcqVFJQ==");
103+
return new BrowserDescriptor(
104+
"com.amazon.enterprise.access.android",
105+
signatureHashes,
106+
null,
107+
null
108+
);
109+
}
110+
100111
/**
101112
* Return a list of BrowserDescriptors that are considered safe for the Switch to browser flow.
102113
*/
103114
static public List<BrowserDescriptor> getBrowserSafeListForSwitchBrowser() {
104115
final List<BrowserDescriptor> browserDescriptors = new ArrayList<>();
105116
browserDescriptors.add(getBrowserDescriptorForChrome());
106117
browserDescriptors.add(getBrowserDescriptorForEdge());
118+
browserDescriptors.add(getBrowserDescriptorForAea());
107119
return browserDescriptors;
108120
}
109121

0 commit comments

Comments
 (0)