Skip to content

Commit 3eee156

Browse files
committed
Minor updates
1 parent ab77f22 commit 3eee156

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

4-WebApp-your-API/4-3-AnyOrg/Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ Open the project in your IDE (like Visual Studio) to configure the code.
223223
1. Find the app key `TenantId` and replace the existing value with 'common'.
224224
1. Find the app key `Domain` and replace the existing value with your Azure AD tenant name.
225225
1. Find the app key `ClientSecret` and replace the existing value with the key you saved during the creation of the `WebApp-MultiTenant-v2` app, in the Azure portal.
226-
2. Find the app key `TodoListScope` and replace the existing value with Scope you created earlier api://{clientId}/access_as-user
226+
2. Find the app key `TodoListScope` and replace the existing value with scope created earlier and replace "access_as_user" to ".default" as shown here: api://{clientId}/.default
227227

228228
#### Configure Known Client Applications for service (WebApi-MultiTenant-v2)
229229

Binary file not shown.

4-WebApp-your-API/4-3-AnyOrg/TodoListService/Startup.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
using Microsoft.EntityFrameworkCore;
99
using TodoListAPI.Models;
1010
using Microsoft.AspNetCore.Authentication.JwtBearer;
11+
using System.Linq;
12+
using System;
1113

1214
namespace TodoListAPI
1315
{

0 commit comments

Comments
 (0)