Skip to content

Commit

Permalink
Merge branch 'dev' into mchand/siwg-broker-support
Browse files Browse the repository at this point in the history
  • Loading branch information
mohitc1 authored Jan 29, 2025
2 parents a567032 + b399544 commit 2df4771
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ enum ConfigFile {
WEBVIEW_WITH_PPE,

WEBVIEW_PPE_MSA,
ONEBOX
}

public static int getResourceIdFromConfigFile(ConfigFile configFile) {
Expand Down Expand Up @@ -120,6 +121,9 @@ public static int getResourceIdFromConfigFile(ConfigFile configFile) {

case WEBVIEW_PPE_MSA:
return R.raw.msal_config_webview_ppe_msa;

case ONEBOX:
return R.raw.msal_config_onebox;
}

return R.raw.msal_config_default;
Expand Down
14 changes: 14 additions & 0 deletions testapps/testapp/src/main/res/raw/msal_config_onebox.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"client_id" : "4b0db8c2-9f26-4417-8bde-3f0e3656f8e0",
"authorization_user_agent" : "DEFAULT",
"redirect_uri" : "msauth://com.msft.identity.client.sample.local/1wIqXSqBj7w%2Bh11ZifsnqwgyKrY%3D",
"handle_null_taskaffinity": true,
"authorization_in_current_task": false,
"environment": "OneBox",
"authorities" : [
{
"type": "AAD",
"authority_url": "https://zurich.test.dnsdemo1.test:8478/common"
}
]
}

0 comments on commit 2df4771

Please sign in to comment.