2017-06-05 155 views

回答

2

詳細步驟(假設你的應用程序在http://localhost/SampleApp主持):

  1. https://github.com/KentorIT/authservices下載最新版本的KentorIT的AuthServices的,打開Visual Studio中的Kentor.AuthServices.sln解決方案。

  2. 識別SampleApplication項目並複製其URL屬性,該SampleApplication SP的ACS和SLS終點是基於價值

  3. 轉到你Onelogin,應用程序>添加應用程序,並在瀏覽器搜索SAML Test Connector並選擇它。

  4. 在連接器的配置選項卡中,添加了觀衆,收件人,ACS和SLS值,如果你的SP基本URL是http://localhost/SampleApp/就應該添加:

  5. 觀衆:http://localhost/SampleApp/AuthServices

  6. 收件人和ACS網址:http://localhost/SampleApp/AuthServices/Acs
  7. 單點註銷URL:http://localhost/SampleApp/AuthServices/Logout

  8. 現在是時候來配置SP AuthSer請編輯SampleApplication項目的web.config文件。在部分中,輸入以下值:

    1. ENTITYID = http://localhost/SampleApp/AuthServices
    2. RETURNURL = http://localhost/SampleApp
  9. 在Onelogin的連接器的SSO選項卡中,你會發現發行人的SSO URL時, SLO URL,您需要在web.config文件以及identityProviders元素上的entityID,signOnUrl,logoutUrl上註冊這些數據。在Onelogin的SSO選項卡上,您還可以找到IdP x509證書,您可以在Kentor的配置文件中將其註冊爲簽名證書。參見Kentor文檔here

+0

Thanks!適用於我 –