I need to support both authentication methods in an application - WS Federation (wsfed) and Home realm discovery (hrd). I am having installed and customized Thinktecture identity server, but I am stack with achieving the above scenario. I am not sure what should be the configuration in <system.identityModel.services> <federationConfiguration> section.

Can I have two <wsFederation...> elements there and how the system would know which protocol to use?

Also is it possible to combine to method in a single page on the identity server side?

Any ideas will be much appreciated!

Thanks!

有帮助吗?

解决方案

If you need both, then configure the server for hrd and then as a RP you can configure IdentityServer as a RP to its own hrd endpoint. There's an issue in the github issue tracker with more info (you'll have to search there).

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top