.net-core - 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"
},
解决方案
推荐阅读
- c# - C# WPF 列在 ListView 内的对齐方式
- networking - 网络中点到点的距离,任意逻辑
- google-chrome - 浏览器如何使用电脑上配置的dns
- r - 错误:loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) 中的“EGSEA”的包或命名空间加载失败:
- python - 如何在python中使用pandas read_csv自动跳过具有非浮动值的行?
- c# - 多任务,如何同时在foreach中运行多个对象?
- jpa - JPA标准检查输入日期范围是否存在
- git - 推送后重写主/主分支上的最后一次提交消息?
- oracle - Oracle APEX 交互式报告过滤器错误
- tensorflow - 将静态类型的输入传递给 tensorflow 服务