Skip to content

Commit 52ff098

Browse files
committed
fix clientId issue
1 parent 7fca9c5 commit 52ff098

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

2-WebApp-graph-user/2-3-Multi-Tenant/Startup.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ public void ConfigureServices(IServiceCollection services)
5858
// Sign-in users with the Microsoft identity platform
5959
services.AddSignIn(options =>
6060
{
61+
Configuration.Bind("AzureAd", options);
6162
options.Events.OnTokenValidated = async context =>
6263
{
6364
string tenantId = context.SecurityToken.Claims.FirstOrDefault(x => x.Type == "tid" || x.Type == "http://schemas.microsoft.com/identity/claims/tenantid")?.Value;

0 commit comments

Comments
 (0)