We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fca9c5 commit 52ff098Copy full SHA for 52ff098
2-WebApp-graph-user/2-3-Multi-Tenant/Startup.cs
@@ -58,6 +58,7 @@ public void ConfigureServices(IServiceCollection services)
58
// Sign-in users with the Microsoft identity platform
59
services.AddSignIn(options =>
60
{
61
+ Configuration.Bind("AzureAd", options);
62
options.Events.OnTokenValidated = async context =>
63
64
string tenantId = context.SecurityToken.Claims.FirstOrDefault(x => x.Type == "tid" || x.Type == "http://schemas.microsoft.com/identity/claims/tenantid")?.Value;
0 commit comments