访问控制服务和多租户应用
我正在构建一个在 Windows Azure 中托管的多租户 MVC 应用程序。
我想利用访问控制服务来允许用户通过 google、facebook、live id 等进行身份验证...
我设法使用在依赖方应用程序设置中配置的回发 URL 进行简单的身份验证。
但在我的场景中它更像是这样的: client1.mydomain.com/login 或 client1.com/login 将转到提供商页面,选择 google,然后他将登录,然后他将被重定向到 client1.mydomain.com/Admin 或 client1.com/Admin
如何我能为任何客户实现这一目标吗?我应该为每个客户端添加依赖方应用程序吗?可以通过代码完成吗?脸书可以吗?
我还希望管理面板位于 silverlight 中,一旦客户端通过身份验证,他是否会在 silverlight 应用程序中保持身份验证状态?
预先感谢您提供任何帮助或有帮助的链接。
弗雷德
I m building a multi-tenant mvc application hosted in windows azure.
I would like to leverage access control service to allow user to get authenticated thanks to google, facebook, live id etc...
I managed to get a simple authentication working with a postback url that is configured in the Relying Party Application Settings.
but in my scenario it is more like that:
client1.mydomain.com/login or client1.com/login will go to the the providers pages select let's say google then he will sign in and then he will be redirected to client1.mydomain.com/Admin or client1.com/Admin
how can I achive that for any clients? should I add a relying party application for each client? can it be done by code? Is it ok with facebook?
I would like also the admin panel to be in silverlight, once the client is authenticated will he remain authenticated in the silverlight app?
Thank you by advance for any help or links that can help.
Fred
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
为了回答你们的问题,我会对所有人说“是”。每个应用程序都必须设置为依赖方。因此,您需要将应用程序配置为使用 WIF 并指向您的 Azure ACS。
Microsoft 中涵盖了所有这些方案身份开发人员培训套件。
希望这会有所帮助。
To answer your questions I would say yes to all. Each application would have to be set up as a relying party. So you would need to configure your app to use WIF and point to your Azure ACS.
All of these scenarios are covered in the Microsoft identity developer training kit.
Hopes this helps.