2016-06-11 75 views
0

我有identityserver3服務運行良好,該服務正在執行自定義身份驗證並使用角度頁面重定向權限,索引,登錄和註銷頁面,如IdentityServer3示例 - CustomUser。在Identityserver3中創建外部註冊頁面

現在,我需要添加外部提供者(比如谷歌)。我不確定我完全瞭解如何在Google成功通過身份驗證後,如何重定向到「someexternalregistration」,該頁面會要求用戶使用我們系統的用戶名,這將與所有未來呼叫的Google登錄名相關聯。

所以說身份服務的URL https://server/identity/loginhttps://server/identity/permissions等.....

如何映射到https://server/identity/someexternalregistration html頁面?

謝謝 馬克

回答

0

IdentityServer做到這一點你只要你的用戶觸發的登錄頁面上顯示的鏈接外部的IdP。 IdentityServer通過查詢katana管道中的註冊認證中間件來顯示鏈接。