使用一些联合身份验证器,让我们说Facebook在重定向回服务提供商后,如何确定调用了哪个联合身份验证器?
我看到使用https://localhost:9443/commonauth?idp= facebook &authenticator = FacebookAuthenticator &sessionDataKey = faaad26e-8bde-4a14-a865-c40546c4e22f调用了commonauth,但接下来我应该做什么将这些变量转发给我的服务提供商?
使用一些联合身份验证器,让我们说Facebook在重定向回服务提供商后,如何确定调用了哪个联合身份验证器?
我看到使用https://localhost:9443/commonauth?idp= facebook &authenticator = FacebookAuthenticator &sessionDataKey = faaad26e-8bde-4a14-a865-c40546c4e22f调用了commonauth,但接下来我应该做什么将这些变量转发给我的服务提供商?
1 回答
在WSO2 Identity Server中的服务提供程序配置的“本地和出站身份验证配置”中启用“始终发送经过身份验证的身份验证提供程序列表” .
启用此选项后,您将收到一个名为“AuthenticatedIdPs”的参数,其中包含登录响应 . Base64解码接收到的值以获取经过身份验证的idps列表 . 下面是base64解码的样本值 .
有关更多信息,请参阅https://docs.wso2.com/display/IS530/Configuring+Local+and+Outbound+Authentication+for+a+Service+Provider .