Asp.net核心2.0 + SSO适用于企业组织 [英] Asp.net core 2.0 + SSO for corporate organization

查看:111
本文介绍了Asp.net核心2.0 + SSO适用于企业组织的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在asp.net core 2.0中开发应用程序,并希望在我现有的应用程序中实现SSO(Single SignIn),这样任何人都可以帮助我如何实现这个功能。



1.我可以使用相同的Office 365身份验证,还是有更好的方法请一步一步帮助。

2.我想从办公室365进行身份验证。



感谢高级..



问候,

Pramod Singh



我尝试了什么:



我已经阅读了谷歌搜索的一些文章,但我无法理解。

Im developing application in asp.net core 2.0 and wants to implements SSO (Single SignIn) to my existing application so any one can help how can i implements this functionality.

1. Can i use same authentication of Office 365 or is there any better WAY SO please help with step by step.
2. I want authenticate from office 365.

Thanking in Advanced..

Regards,
Pramod Singh

What I have tried:

I have read some articles from google search but im not able to understand.

推荐答案

我会从谷歌搜索开始,因为我100%确信会有一些对你有用的东西。我也鼓励你找一个团队负责人或开发经理寻求指导,因为我不确定你的公司是否会喜欢为他们设计他们的SSO服务器/功能的论坛。



我鼓励你做一些研究,找出你想要使用的SSO协议(例如:openid或使用活动目录),然后使用谷歌找出你接下来要实施的步骤。我鼓励你使用谷歌,因为我可以保证你,你不是第一个实施SSO的人,所以你肯定会遇到许多你遇到的问题,并且只是一个简单的谷歌搜索。



asp.net核心单点登录 [ ^ ]



GitHub - IdentityServer / IdentityServer3:OpenID Connect Provider和OAuth 2.0授权服务器ASP.NET 4.x / Katana的框架 [ ^ ]



[ https:// auth0.com/docs/architecture-scenarios/application/web-app-sso/implementation-aspnetcore



现在你应该尝试实现它并获得卡在任何地方,如果你能够得到这个是你的工作,请随时回来清楚解释你的问题和任何相关的代码示例。
I would start with a google search as I am 100% confident there is going to be something useful for you to follow. I would also encourage you to seek out a team lead or dev manager for guidance as I am not sure your company would appreciate a forum architecting their SSO server/functionality for them.

I would encourage you to do some research, figure out what SSO protocal you wish to use (Ex: openid or using active directory) and then use google to figure out what your next steps for implementing. I encourage you to use google as I can asure you, you are not the first person to implement SSO and so many of your issues you are bound to encounter have surely been discussed and are a simple google search away.

asp.net core single sign on[^]

GitHub - IdentityServer/IdentityServer3: OpenID Connect Provider and OAuth 2.0 Authorization Server Framework for ASP.NET 4.x/Katana[^]

[https://auth0.com/docs/architecture-scenarios/application/web-app-sso/implementation-aspnetcore

Now should you attempt to implement it and get stuck anywhere, if you are able to given this is for your job, feel free to come back with a clear explanation of your issue and any relevant code samples.


你好朋友,


我的经理让我实现同样的身份验证,我可以说它是单点登录,因为他想在我登录Intranet用户时系统应该选择窗口用户,否则系统应该提示用户名和密码的网页登录页面。 br />


我的想法是:



首先检查身份,如果身份为空,则将其重定向到互联网登录页面拿用户名&密码并验证LDAP服务器。为此我必须在web.config中进行更改,因为身份验证模式=窗口和allowuser = *



只是让我知道它是否是你的情况然后我可以帮助你。
Hi friend ,

My manager asked me to implement same kind of authentication, i can say that it is single sign on because he wanted when i am being log-in on intranet user then system should pick window user otherwise system should prompt internet login page with username and password.

My idea was :

First check identity if identity is null then redirect it to internet login page and take the username & password and validate against LDAP server.for this i have to make change in web.config as authentication mode =window and allowuser=*

Just let me know if it is your case then i can help you.


这篇关于Asp.net核心2.0 + SSO适用于企业组织的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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