box / box-ios-sdk

iOS SDK for the Box Content API
https://developer.box.com
Apache License 2.0
123 stars 113 forks source link

OneLogin authentication redirection problem #661

Closed leandrotha closed 1 year ago

leandrotha commented 5 years ago

Description of the Issue

In order to access Box, users under our domain must authenticate through OneLogin. The BOX Login Webview then redirects our users to the OneLogin page to complete authentication. Sometimes, the Box SDK does not recognise that the auth has been completed and allows the user to navigate on the pages further on OneLogin platform. The occurrences of this issue seems to be random, some users are facing it and some are not. I was able to reproduce this myself a couple of times, but didn't find a pattern. In this cases that the issue occurs, the callback isn't called.

We're using the function <- (void)authenticateInAppWithCompletionBlock:(void (^)(BOXUser user, NSError error))completion;> to make the auth.

Versions Used

Box Content SDK: 2.4.0 iOS: 11.4 (deployment); Tested on iOS 12 and above;

Steps to Reproduce

Try to login on Box with a email domain that requires OneLogin Authentication.

Error Message, Including Stack Trace

not applicable

abhishek-bidgely commented 4 years ago

@leandrotha were you able to fix this issue. I am also facing a similar intermittent issue in iOS.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not been updated in the last 30 days. It will be closed if no further activity occurs within the next 7 days. Feel free to reach out or mention Box SDK team member for further help and resources if they are needed.

stale[bot] commented 1 year ago

This issue has been automatically closed due to maximum period of being stale. Thank you for your contribution to Box iOS SDK and feel free to open another PR/issue at any time.