Discuss Dropbox Developer & API
Hi -- we've been running a SwiftyDropbox-based macOS app for a couple of years now, with little or no trouble. Since we've started installing it on Monterey, we've noticed that on some -- not all -- Monterey machines, the first time the user successfully logs in to Dropbox, they get prompted for keychain access, which didn't happen on previous versions of macOS:
This is the correct bundle identifier for the app, so that's fine. The issue is just that, since there's clearly a way to avoid this prompt, since we don't get it on every machine... what is it? Is there something I can set in the app's installer to pre-approve keychain access?
The SwiftyDropbox SDK uses the Keychain to store and retrieve the access/refresh token for the user (you can find it here in the code), but SwiftyDropbox SDK itself doesn't provide a way to configure any such Keychain options, so I'm afraid I can't offer too much help here. The SDK just asks the system for the specified credentials, and I believe the system itself decides whether or not this prompt is needed. Apple may be able to offer better guidance on if/how it's possible to configure the app to avoid this on various versions of macOS.
Thanks -- I'll pursue this with Apple! If I get a sensible answer, I'll report it here.
Hi there!
If you need more help you can view your support options (expected response time for a 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!