简体   繁体   English

ADAL 在 ASP Net Core 中与 OpenIdConnect 一起使用吗

[英]Is ADAL used in ASP Net Core with OpenIdConnect

I have an old web application in ASP .Net core 2.1 which is authenticating users against Azure AD.我在 ASP .Net core 2.1 中有一个旧的 Web 应用程序,它针对 Azure AD 对用户进行身份验证。

Give the fact that Microsoft will end support for ADAL, recommending to move to MSAL, I need to figure out if my application will still work, and if is using ADAL考虑到 Microsoft 将终止对 ADAL 的支持,建议迁移到 MSAL,我需要确定我的应用程序是否仍然可以工作,以及是否正在使用 ADAL

Does anyone know if ADAL is used in .AddOpenIdConnect Version=2.1.2.0 ?有谁知道 ADAL 是否用于 .AddOpenIdConnect Version=2.1.2.0 ?

// Microsoft.AspNetCore.Authentication.OpenIdConnect, Version=2.1.2.0

              .AddOpenIdConnect(option =>
              {
                  option.ClientId = ClientId;
                  option.ClientSecret = ClientSecret;
                  option.Authority = $"https://login.microsoftonline.com/{Tenant}";
                  option.Resource = "https://graph.windows.net";
                  option.SignedOutRedirectUri = SignedOutRedirectUri;
                  option.CorrelationCookie.Name = "cookie name";
                  option.NonceCookie.Name = "nonce name";
                  option.NonceCookie.SecurePolicy = CookieSecurePolicy.Always;                
                  option.CorrelationCookie.SecurePolicy = CookieSecurePolicy.Always;
                  ....
              }

Yes, your resource URL https://graph.windows.net points to the token endpoint for Azure AD Graph (ADAL)是的,您的资源 URL https://graph.windows.net指向Azure AD Graph (ADAL)的令牌端点

The token endpoint for MS Graph (MSAL) is https://graph.microsoft.com MS Graph (MSAL)的令牌端点是https://graph.microsoft.com

Here is extended information about planning your app migration以下是有关规划应用迁移的扩展信息

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 ASP.Net核心OpenIdConnect Steam - ASP.Net Core OpenIdConnect Steam 如何使 Asp.Net Core Identity 与 OpenIdConnect 一起工作 - How to make Asp.Net Core Identity to work with OpenIdConnect ASP.NET 核心 OpenIdConnect 和管理员同意同一回调路径 - ASP.NET Core OpenIdConnect and admin consent on the same callback path 关闭asp.net mvc core 2 OpenIdConnect中的AutomaticChallenge - Turn off AutomaticChallenge in asp.net mvc core 2 OpenIdConnect 不能在asp.net core 2.0中使用CookieAuthenticaton和openidConnect身份验证 - Cannot use CookieAuthenticaton and openidConnect Authentication in asp.net core 2.0 ASP.NET 核心 3.1 OpenIDConnect 消息。state 是 null - ASP.NET Core 3.1 OpenIDConnect message.state is null .net核心中的多个OpenIdConnect授权 - Multiple OpenIdConnect authorization in .net core 如何通过 IdentityServer4 将 OpenIdConnect 添加到 ASP.NET Core ServerSide Blazor Web 应用程序? - How to add OpenIdConnect via IdentityServer4 to ASP.NET Core ServerSide Blazor web app? 在哪里可以找到 ASP.NET Core 2 源代码? 专用于 Microsoft.AspNetCore.Authentication.OpenIdConnect - Where can I find the ASP.NET Core 2 source code? Specifically for Microsoft.AspNetCore.Authentication.OpenIdConnect 基于Asp.net核心令牌的OpenIdConnect和angularjs声明身份验证:Bearer被禁止 - Asp.net core token based claims authentication with OpenIdConnect and angularjs: Bearer was forbidden
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM