You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 17, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: 5-AccessControl/2-call-api-groups/API/TodoListAPI/Startup.cs
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -52,14 +52,14 @@ public void ConfigureServices(IServiceCollection services)
52
52
53
53
options.Events.OnTokenValidated=async context =>
54
54
{
55
-
string[]allowedClientApps={Configuration["AzureAd:ClientId"]};// In this scenario, client and service share the same clientId
55
+
string[]allowedClientApps={Configuration["AzureAd:ClientId"]};// In this scenario, client and service share the same clientId and we disallow all calls to this API, except from the SPA
Write-Host"Unable to remove ServicePrincipal 'msal-angular-app'. Error is $message. Try deleting manually from Enterprise applications."-ForegroundColor White -BackgroundColor Red
74
151
}
75
-
Write-Host"You may want to remove the security group 'GroupAdmin' if it was created to test this sample only."
0 commit comments