首页 > 解决方案 > ASP.NET Core:Azure 广告登录在 iPhone (Safari) 浏览器上不起作用。在windows的其他浏览器上很好

问题描述

public void ConfigureServices(IServiceCollection services)
{
    services.AddAuthentication(OpenIdConnectDefaults.AuthenticationScheme)
            .AddMicrosoftIdentityWebApp(Configuration.GetSection("AzureAd"));
}

应用设置.json

"AzureAd": {
       "Instance": "https://login.microsoftonline.com/",
       "Domain": "https://wasdfds.azurewebsites.net/",
       "ClientId": "sad-758f-44b0-8b84-asdf",
       "TenantId": "asdf-b571-4179-8c2a-asd",
       "CallbackPath": "/signin-oidc",
       "LogoutUrl": "https://wasdfds.azurewebsites.net/signout-oidc"
     },

标签: .net-coreazure-active-directory

解决方案


推荐阅读