Seeing the same error for the last few days while IOS Stronbox App tries to log in to access a data file on 365 OneDrive.
Users of our iOS app have just started receiving a certificate error when trying to login to their OneDrive accounts
Hi,
About 5 days ago users of our App have started receiving a certificate error:
"The certificate for this server is invalid. You might be connecting to a server that is pretending to be “skyapi.onedrive.onedrive.live.com” which could put your confidential information at risk."
Obviously, the URL looks incorrect (too many "onedrive."'s in there...). The trouble is this URL is generated by "accountchooser.js" in code that looks like this:
e.skyApiBaseUrl = "https://skyapi.onedrive." + document.domain + "/API/2/";
We use the OneDriveSDK via a Cocoapod (nothing has changed here in years) and our App hasn't changed anything here in a similar time frame. So something recent looks to have changed, either in the accountchooser.js code, or in how "document.domain" is calculated/determined on iOS. For reference, our users are seeing this on iOS 15.3.x and iOS 15.4, so latest stable production releases.
Is anyone seeing anything similar? Any help with where or how we should raise this issue would be helpful...
Screenshot of a Proxyman capture on a clean iOS Simulator
5 answers
Sort by: Most helpful
-
-
JoeThornriver 11 Reputation points
2022-03-05T13:08:41.7+00:00 I have the same problem. please correct!
-
DA 1 Reputation point
2022-03-10T05:14:44.95+00:00 Keepass Touch app on my iPhone is throwing the same error when attempting to sync with OneDrive. Any ETA on a fix?
-
Mark Mc 1 Reputation point
2022-03-10T07:45:12.603+00:00 We managed to solve this issue for Strongbox users over the weekend. Please update to 1.55.2 for a fix.
NB: You may need to re-add your OneDrive databases ( + > Add Existing > OneDrive) to see the effect.
-
Максим Максим 1 Reputation point
2022-03-12T09:29:40.493+00:00 Hi @Mark Mc
Could you please advise how to solve this problem? I came across same problrm in my app.