ADFS 3.0中的RelayState支持? [英] RelayState Support in ADFS 3.0?
问题描述
根据这个:
http://blogs.technet.com/b/askds/archive/2012/09/27/ad-fs-2-0-relaystate.aspx
从ADFS 2.0 Update 2开始支持RelayState参数,并对web.config进行编辑。在WS 2012 R2中没有关于ADFS 3.0的RelayState支持的信息,因此我假设支持RelayState而无需任何其他配置。这是正确的吗?
我们无法将使用URL生成器创建的RelayState URL传递给第三方STS。我们试图弄清楚问题是ADFS传递URL还是第三方STS。有人可以确认ADFS 3.0上是否需要任何额外的配置
来传递RelayState(就像它在ADFS 2.0中一样)?或者这是否支持开箱即用?
谢谢,
Dustin
就像在adfs v2中一样,您需要在adfs v3中启用relaystate。 adfs v3的配置与adfs v2中的配置完全相同,也在同一文件中。但是,该文件位于不同的位置。见下文...
Windows Server 2012 R2中的AD FS包含%systemroot%\ ADFS \ Microsoft.IdentityServer .Servicehost.exe.config 文件。使用与
web.config 文件元素相同的语法创建元素:< useRelayStateForIdpInitiatedSignOn enabled =" true" />
。将此元素包含在 Microsoft.IdentityServer.Servicehost.exe.config 文件的
< microsoft.identityserver.web> 部分中。
According to this: http://blogs.technet.com/b/askds/archive/2012/09/27/ad-fs-2-0-relaystate.aspx
The RelayState parameter was supported as of ADFS 2.0 Update 2 with an edit to web.config. There is no information on RelayState support with ADFS 3.0 in WS 2012 R2, so I assume that RelayState is supported without any additional configuration. Is this correct?
We are having trouble passing a RelayState URL created with the URL generator to a third party STS. We are trying to figure out if the issue is with ADFS passing the URL or on the 3rd party STS. Can someone confirm if there is any additional configuration required on ADFS 3.0 to pass RelayState (like it was in ADFS 2.0)? Or is this supported right out of the box?
thanks,
Dustin
like in adfs v2 you need to enable relaystate in adfs v3. The config for adfs v3 is exactly the same as in adfs v2 and also in the same file. However, the file is in a different location. see below...
AD FS in Windows Server 2012 R2 includes a %systemroot%\ADFS\Microsoft.IdentityServer.Servicehost.exe.config file. Create an element with the same syntax as the web.config file element:
<useRelayStateForIdpInitiatedSignOn enabled="true" />
. Include this element as part of <microsoft.identityserver.web> section of the Microsoft.IdentityServer.Servicehost.exe.config file.
这篇关于ADFS 3.0中的RelayState支持?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!