[英]Implementing Azure ADFS in Web Forms Application
I have a traditional ASP.NET 3.5 Web Forms application.我有一个传统的 ASP.NET 3.5 Web 窗体应用程序。 As of now it is using On-Premise ADFS which is working fine.
截至目前,它正在使用运行良好的本地 ADFS。 Now we have a requirement to change on-premise ADFS to Azure ADFS.
现在我们需要将本地 ADFS 更改为 Azure ADFS。
In the web.config, I have changed the required URL to point to Azure ADFS but it is not working.在 web.config 中,我已将所需的 URL 更改为指向 Azure ADFS,但它不起作用。 I checked Stackoverflow and Googled around but I found examples related to ASP.NET MVC and ASP.NET Core where changes are required in Startup.cs file.
我检查了 Stackoverflow 并在谷歌上搜索,但我发现了与 ASP.NET MVC 和 ASP.NET Core 相关的示例,其中 Startup.cs 文件中需要更改。
I want to know what all changes are required in my traditional Web Forms application.我想知道在我的传统 Web 窗体应用程序中需要进行哪些更改。 Any example link would help.
任何示例链接都会有所帮助。
You should be able to get it working by using the Azure AD parameters rather than the ADFS ones eg metadata.您应该能够通过使用 Azure AD 参数而不是 ADFS 参数(例如元数据)来使其工作。 What protocol are you using?
你使用什么协议?
There are some ADFS samples .有一些 ADFS 示例。 Look at the LHS under ADAL and MSAL.
查看 ADAL 和 MSAL 下的 LHS。 These generally start with an Azure AD sample and show how to convert to ADFS.
这些通常从 Azure AD 示例开始,并展示如何转换为 ADFS。 So you can then work "backwards".
所以你可以“向后”工作。
Update更新
I had a look at that code.我看了一下那个代码。 It looks like OIDC?
看起来像OIDC? "Redirect_Uri" is not a WS-Fed parameter.
“Redirect_Uri”不是 WS-Fed 参数。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.