简体   繁体   English

在Box.com上使用公司凭据和ADFS 2.0作为Idp的单一登录

[英]Use Single sign on with Box.com using company credential and ADFS 2.0 as Idp

I want to create an c#.net application that allows users who have logged in to company domain by their username/password can interact with Box.net without authentication (SSO). 我想创建一个c#.net应用程序,该应用程序允许通过用户名/密码登录到公司域的用户可以与Box.net进行交互而无需身份验证(SSO)。 The app flows as the following image 该应用程序如下图所示

  • Users login by their username/password to company network and call the application 用户使用用户名/密码登录公司网络并调用应用程序

  • Application sends requests to Box.net, then box asks ADFS 2.0 for authentication 应用程序将请求发送到Box.net,然后Box要求ADFS 2.0进行身份验证

  • Application provides ADFS the user credential, and then ADFS sends authentication result back to Box.net 应用程序向ADFS提供用户凭据,然后ADFS将身份验证结果发送回Box.net

  • Box returns token to application and application use the token to do other actions such as uploading file, deleting files. Box将令牌返回给应用程序,应用程序使用该令牌执行其他操作,例如上载文件,删除文件。

app flow 应用程式流程

My question is: 我的问题是:

- How can I request Box.net for single sign on from my application -如何从我的应用程序请求Box.net进行单点登录
As I have followed this instruction but it does not work Use SAML Single Sign-On to obtain OAuth access token or code for using Box.com API 按照我的指示执行,但它不起作用使用SAML单一登录获取OAuth访问令牌或使用Box.com API的代码


- After obtaining the token from Box.net, how can I do actions to Box.net as uploading, deleting... -从Box.net获取令牌后,如何在上传,删除...时对Box.net进行操作?

I do not see instructions on Box.net for single sign on integrations. 我没有在Box.net上看到有关单一登录集成的说明。 please give me your ideas? 请给我您的想法?

The clue is in the title - "SSO to obtain OAuth". 线索在标题中-“通过SSO获得OAuth”。

ADFS 2.0 does not support OAuth. ADFS 2.0不支持OAuth。

You need to do this via SAML - refer Single Sign On (SSO) with Box: For Administra​tors . 您需要通过SAML来执行此操作-将带有Box的Single Sign On(SSO)引用给管理员:对于管理员

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM