SSO实施。 [英] SSO Implementation.
问题描述
我想在我的应用程序中使用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屋!