cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to get #access_token= ?!?!

How to get #access_token= ?!?!

Cloak F.
New member | Level 1

Hi,

We're trying to integrate Dropbox within our service.

Right now, we're hung op on how to access the GET access_token after a user authenticated. Dropbox places a # before the GET variables so we can't access it the normal way and REQUEST_URI won't work either.
How can we get that access_token?!

Thank you in advance.

- Ralph

2 Replies 2

Cloak F.
New member | Level 1

Never mind, I used the code flow instead.

Greg-DB
Dropbox Staff

Hi Ralph, when using the "token" flow, the access token is placed in the "fragment" of the redirect URI (the portion after the "#"), per the OAuth specification. 

Browsers don't send that portion up to the server though, so if you are building a web app, using the "code" flow instead is the right way to go.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    Cloak F. New member | Level 1
What do Dropbox user levels mean?