Forum Discussion
RTS S.
7 years agoHelpful | Level 6
IOS ASWebAuthenticationSession for OAuth
Previously I used a WKWebView browser control to perform the OAUth. This allowed me to trap the redirect URL to obtain the access code. My redirect URL was http://localhost/Auth
Now I am using the Native browser interface ASWebAuthenticationSession This requires that you use an APPLICATION specific callback URL scheme for your redirect uri. i.e. MyAppName://Auth
The Dropbox APP console allows me to specifiy this as the Redirect URL but gives an error when I try to call the oauth2/authrize endpoint using this as the redirect_uri
About Create, upload, and share
Find help to solve issues with creating, uploading, and sharing files and folders in Dropbox. Get support and advice from the Dropbox Community.