2014-04-01 31 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 –