SSO实施。 [英] SSO Implementation.

查看:83
本文介绍了SSO实施。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的应用程序中使用IdentityServer实现单点登录


https://identityserver.github.io/Documentation/docsv2 /


情景是


我有两个名为Hub和Web的应用程序。  两者都是托管在不同域中的MVC 5网站,所有登录都是
信息(登录页面)&身份服务器必须进入Hub。集线器需要充当网络入口。



-             
a用户登录Web应用程序时(如果用户已经在Hub / Web中登录),请使用登录的用户信息并转到Web应用程序。



< span style ="font-size:10.5pt; font-family:'Segoe UI','sans-serif';颜色:#333333"> -          



-            
a用户登录Web应用程序时(没有用户登录Hub / Web)。然后它重定向到Hub应用程序并通过提供用户名和密码登录到那里并移动到web申请。



-          



-            
a用户登录Hub应用程序时(如果用户已经在Hub / Web中登录),请使用登录的用户信息并转到。



-          



-            
a用户登录Hub应用程序时(没有用户登录Hub / Web)。然后显示Hub的登录页面,



-          



-            
我在一个应用程序(Hub / Web)中注销时。请在所有应用程序中注销。伙计们你可以
iv e
了解如何实现这一目标




解决方案

请在ASP.NET论坛(http://forums.asp.net)上发布与Web应用程序相关的问题。

I want to implement Single Sign On, in my applications by using IdentityServer

https://identityserver.github.io/Documentation/docsv2/

The scenario is

I have two applications named Hub and a Web.  Both are MVC 5 web sites hosted in different domain, all login information (login page) & identity server must come in Hub. The hub need to act as an entry to web.

-          When a user going to login the Web application (if a user is already login in Hub/Web) use the logged user info and go to Web app.

-         

-          When a user going to login in web application (there is no user is logged in Hub/Web). Then it redirect to Hub application and login at there by providing username and password and move to web application.

-         

-          When a user going to login the Hub application (if a user is already login in Hub/Web) use the logged user info and go.

-         

-          When a user going to login in Hub application (there is no user is logged in Hub/Web). Then it show the login page of Hub,

-         

-          When I sign out in one Application (Hub/Web). Do sign out in all applications. Guys could you give an idea of how can I achieve this


解决方案

Please post questions related to web applications in the ASP.NET forums (http://forums.asp.net ).


这篇关于SSO实施。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆