I have an Angular application which talks to several WEB API's to provide an interacted UI. I am finding really hard time in finding a way to. I am following this article which explains the Angular part of it. I am able to get the token at client side. How can my dot net core web API validate the token if the client sends this id token?
相关问题
- Register MicroServices in Azure Active Directory (
- Can I use MvcJsonOptions configured during Startup
- Azure Graph 403 Authorization_RequestDenied using
- Azure AD OAuth client credentials grant flow with
- “Unauthorized” when invoking an API App from Azure
相关文章
- Re-target .NET Core to net471, net 472
- How to 'Grant Permissions' Using Azure Act
- Verify a domain name in Azure Active Directory
- The application named HTTPS://test113.onmicrosoft.
- Default proxy in .net core 2.0
- Get browser language in .AspNetCore2.0?
- Execute SQL command in Entity Framework Core 2.0 t
- The name WebHost does not exists in current contex
You can use JwtBearer middleware which enables an application to receive an OpenID Connect bearer token. In this document it provides code sample .
Or you can use AzureADAuthenticationBuilderExtensions.AddAzureADBearer Method in
Microsoft.AspNetCore.Authentication.AzureAD.UI
library :And bind the config in
appsettings.json
: