cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

oauth2 dropbox connection problem in IE 11

New member | Level 2
New member | Level 2

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

1 Reply 1
Highlighted

Re: oauth2 dropbox connection problem in IE 11

Dropboxer
Dropboxer

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

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?