One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
raghavtyagi
8 years agoNew member | Level 2
oauth2 dropbox connection problem in IE 11
hello , I am facing a problem in connecting dropbox using oauth2 api to my app in IE 11 only. In other browsers , it is working fine .
Actually when I request for connection in other browsers, after verfication response Url I am getting is like this
https://www.example.com/mycallback/#access_token=<access token>&token_type=Bearer&uid=<user ID>&state=<CSRF token> |
and app get connect successfully in this situation .
In IE11 when request is sent and after verification, in response url , one slash is getting appended automatically after # due to which redirect url fails to connect and app is redirect to my default routing page .
here is url which I got in IE11 case like this
https://www.example.com/mycallback/#/access_token=<access token>&token_type=Bearer&uid=<user ID>&state=<CSRF token> |
please provide me the solution ,I am using angular js for connection
- Greg-DB
Dropbox Staff
I just tried the Dropbox OAuth 2 flow in IE 11, and I didn't receive the extra '/', so it looks like this is being added on your app's side, presumably due to how to AngularJS works. AngularJS is made by a third party though, so I'm afraid I can't offer help with it. You may want to refer to the documentation for AngularJS to see how you can handle this scenario, or ask for help on an AngularJS forum.
By the way, I see you edited it out, but for the sake of security, you should disable the access token that you posted originally. You can do so by revoking access to the app entirely, if the access token is for your account, here:
https://www.dropbox.com/account/security
Or, you can disable just that access token using the API:
https://www.dropbox.com/developers/documentation/http/documentation#auth-token-revoke
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,950 PostsLatest Activity: 10 hours ago
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!