We Want to Hear From You! What Do You Want to See on the Community? Tell us here!

Forum Discussion

phunction's avatar
phunction
Explorer | Level 4
2 years ago

iOS 17.x can no longer login and allow dropbox access on app

i, something has changed with iOS 17.  My app is using the DropboxClient() api to get an auth token, which would show safari and ask for a login.

The login works, and they will get the question if they want to allow my app access. When they click on Allow, they now get the error:

Safari can't open the page because it couldn't connect to the server.

 

I was using the redirect uri of "http://localhost/authorize"

 

 

 

private const string RedirectUri = "http://localhost/authorize";
var authorizeUri = DropboxOAuth2Helper.GetAuthorizeUri(OAuthResponseType.Code, appKey, RedirectUri, state: state, tokenAccessType: TokenAccessType.Offline);

 

 

 

 

This was working fine until iOS 17 came out. 

Does anyone know how to fix this? It appears that iOS 17 no longer allows safari to connect to localhost?

 

I am using c# (xamarin/maui) for iOS.

13 Replies

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,036 PostsLatest Activity: 8 hours ago
411 Following

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

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!