Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9207579
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T00:25:07+00:00 2026-06-18T00:25:07+00:00

With: Box’s OneCloud iOS SDK updated on december 10th 2012. We are managing the

  • 0

With: Box’s OneCloud iOS SDK updated on december 10th 2012.

We are managing the Oauth2 authentication process ourselves and are successfully able to list files and upload new versions of them calling directly REST HTTP requests as documented in the full documentation.

We now want to start using the SDK without having to replace all currently working code. As documented in the Box.h header file, we are calling initializeSessionWithAuthToken using the same token as above but it will always returns BoxCallbackResponseUserCancelled in the on.after callback block.

From the Box.h header

// You can also use the Box web APIs detailed at http://developers.box.com to implement your own user login.
// If you choose to do that, please call initializeSessionWithAuthToken:callbacks: with the auth token you
// obtain during login to take advantage of the library after authentication.

// If there is already a user logged in, this method is a no-op. No callbacks will be called in that case.
// Otherwise, this method initializes the authenticating user's session. You can expect your callbacks' on.before to
// be called immediately before initialization. on.after will be called upon success or failure of the operation.
// The response argument will be set accordingly.
+ (void)initializeSessionWithAuthToken:(NSString *)authToken callbacks:(BoxOperationCallbacksDefine)callbacks;

Anyone successfully used this method or found extended documentation on the returned error code?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T00:25:09+00:00Added an answer on June 18, 2026 at 12:25 am

    This is likely due to the fact that iOS SDK is built against our V1 API, which does not support OAuth 2. This is a disparity we’re aware of, and we’re working on porting the iOS SDK to use the V2 API.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My box-shadow stops if I use a parent div with overflow:auto. How do I
-moz-box-shadow: inset 3px 0px #BDD4DE; -webkit-box-shadow: inset 3px 0px #BDD4DE; box-shadow: inset 3px 0px
light box closing automatically with in seconds. Could you help me please $(document).ready(function(){ $('.lightbox').click(function(){
I have a combo box on an MVC3 application. When a new item is
I have a text-box into which a user can input a comment. The comment
I have a text box and a button, if I enter some text in
I have Windows box and I wish to invoke a .sh script on a
I have a text box for searching. For some reason, .blur() will not work
I have a text box that contains lines of data similar to this: sheep
Contact box in the footer the textarea and input boxes are in a div

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.