2014-04-01 37 views
0

我想使用Thinktecture身份服务器V2“WS-Federation HRD”让用户可以使用Facebook帐户或Thinktecture身份服务器创建的身份服务器登录。 以下是我的用例。我还参考https://github.com/thinktecture/Thinktecture.IdentityServer.v2/issues/484来尝试配置我的Thinkecture身份服务器, 它可以显示HRD登录页面,我可以登录成功,但它总是在登录成功后重定向到Thinktecture身份服务器主页而不是客户端应用程序。Thinktecture Identity Server HRD

任何人都可以告诉我如何配置Thinktecture Identity Server和ASP.NET MVC客户端应用程序配置吗?

用例

1.(APP客户端)abc.cloudapp.net/oauthclient2/

2 => Thinktecture身份服务器 “HRD” 页(https://def.cloudapp.net/identityserver/

3. =>如果成功登录Facebook或IDP(身份服务器)然后

4. =>重定向到(APP客户端)abc.cloudapp.net/oauthclient2/

回答

1

您提到的指南可以。您可能遇到的问题是在最后一个屏幕上。

尝试在您的应用程序的中继方(abc.cloudapp.net/oauthclient2/)中将重定向URL设置回您的应用程序(abc.cloudapp.net/oauthclient2/)。

+0

感谢pepo,我已经解决了我的问题并在Thinktecture Identity Server github上发布了解决方案:https://github.com/thinktecture/Thinktecture.IdentityServer.v2/issues/651 –