Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -98,17 +98,7 @@ private async Task SetupIEFAppsAsync(string domainId)
//TODO: should verify whether the two apps are setup correctly
if (_readOnly) return;

var requiredAADAccess = new
{
resourceAppId = "00000002-0000-0000-c000-000000000000",
resourceAccess = new List<object>()
{
new {
id = "311a71cc-e848-46a1-bdf8-97ff7156d8e6",
type = "Scope"
}
}
};

var iefApiPermission = new
{
adminConsentDescription = $"Allow the application to access {AppName} on behalf of the signed-in user.",
Expand Down Expand Up @@ -188,17 +178,6 @@ private async Task SetupIEFAppsAsync(string domainId)
type = "Scope"
}
}
},
new {
resourceAppId = "00000002-0000-0000-c000-000000000000",
resourceAccess = new List<object>()
{
new
{
id = "311a71cc-e848-46a1-bdf8-97ff7156d8e6",
type = "Scope"
}
}
}
},
web = new
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -349,17 +349,6 @@ private async Task SetupIEFAppsAsync(string domainId)
//TODO: should verify whether the two apps are setup correctly
if (_readOnly) return;

var requiredAADAccess = new
{
resourceAppId = "00000002-0000-0000-c000-000000000000",
resourceAccess = new List<object>()
{
new {
id = "311a71cc-e848-46a1-bdf8-97ff7156d8e6",
type = "Scope"
}
}
};
var iefApiPermission = new
{
adminConsentDescription = $"Allow the application to access {AppName} on behalf of the signed-in user.",
Expand Down Expand Up @@ -439,17 +428,6 @@ private async Task SetupIEFAppsAsync(string domainId)
type = "Scope"
}
}
},
new {
resourceAppId = "00000002-0000-0000-c000-000000000000",
resourceAccess = new List<object>()
{
new
{
id = "311a71cc-e848-46a1-bdf8-97ff7156d8e6",
type = "Scope"
}
}
}
},
web = new
Expand Down