【发布时间】:2015-08-23 05:48:36
【问题描述】:
我正在使用 webapi 并尝试设置应用程序配置以进行正确的签名验证 WindowsAzureActiveDirectoryBearerAuthenticationOptions
我注意到 MetadataAddress 字段未在几个在线示例和 AAD 身份验证示例中使用:https://github.com/AzureADSamples/NativeClient-WebAPI-MultiTenant-WindowsStore/blob/master/TodoListServiceMT/App_Start/Startup.Auth.cs
当我启动应用程序时,我注意到在应用程序启动时有一个对https://login.windows.net/common/federationmetadata/2007-06/federationmetadata.xml 的请求,即使该字段未设置。这是 MetadataAddress 的默认值吗?
- 签名验证如何工作,即使 sts 地址是 令牌不同?
- 在自定义 sts 服务的情况下如何处理验证?
【问题讨论】:
标签: asp.net-web-api oauth-2.0 asp.net-web-api2 katana adal