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.