Closed leandrotha closed 1 year ago
@leandrotha were you able to fix this issue. I am also facing a similar intermittent issue in iOS.
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.
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.
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