You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

Jon B.1's avatar
Jon B.1
Collaborator | Level 9
2 years ago

OAuth permissions issues in SwiftyDropbox under Ventura?

Have there been any changes in recent versions of SwiftyDropbox to accommodate any new security restrictions on Ventura?

 

I developed a macOS app with a FileProvider Finder extension, which initialises smoothly under Monterey and earlier versions; however, some people installing it on Ventura are reporting a whole string of "Allow / Deny / Always Allow" dialogs repeatedly asking the user to enter the "login" keychain password to access "com.<companyname>.<appname>.dropbox.authv2".  So it looks like something might have changed in Ventura's default security handling.

 

The app was built with SwiftyDropbox 8.2.1; I did a minor tweak to the OAuth Keychain code, to make sure it saved the tokens to a keychain related to an app group (so it can be accessed both by my main app and the extension).  So I'm trying to work out whether this is a known issue related to Ventura and I should update the app to use SwiftyDropbox 9.2, or whether the issue is something I need to fix outside of SwiftyDropbox!

  • Update on this:  I think the infinite number of Dropbox warnings were down to startup issues -- the FileProvider extension was trying to get basic Dropbox details (including the local path) before checking whether the main app was up and running yet, so it would keep reiterating the warning while the main app was still trying to authenticate.  The solution was to move the initial Dropbox calls to after the main app had successfully authenticated.

     

    We still get two access warnings on initial authentication, but we can live with that!  Thanks.

     

    Do you have any more details of the "fixes for use in application extensions"?  For our limited use of Dropbox in our extension, we haven't had any problems to date under Monterey.

    • Jon B.1's avatar
      Jon B.1
      Collaborator | Level 9

      Update on this:  I think the infinite number of Dropbox warnings were down to startup issues -- the FileProvider extension was trying to get basic Dropbox details (including the local path) before checking whether the main app was up and running yet, so it would keep reiterating the warning while the main app was still trying to authenticate.  The solution was to move the initial Dropbox calls to after the main app had successfully authenticated.

       

      We still get two access warnings on initial authentication, but we can live with that!  Thanks.

       

      Do you have any more details of the "fixes for use in application extensions"?  For our limited use of Dropbox in our extension, we haven't had any problems to date under Monterey.

      • Jon B.1's avatar
        Jon B.1
        Collaborator | Level 9

        Further update:  the FileProvider fix in 9.2.0 appears to be specific to iOS mobile devices -- this is a desktop macOS FileProvider, so not relevant to us.

         

        So thanks -- this is a non-issue!

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,882 PostsLatest Activity: 21 hours ago
325 Following

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!