cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Are you an educator? Well we want to hear from you, so check out some tools we think might help you out 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

Re: How to get #access_token= ?!?!

Cloak F.
New member | Level 1

Never mind, I used the code flow instead.

Re: How to get #access_token= ?!?!

Greg-DB
Dropboxer

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.

Poll
We love to learn from the educators who use Dropbox. Whether you teach kids, teens, adults or a combination of all three, we want to know what apps and integrations you use with Dropbox to help with teaching. Which of the ones below is your favorite, or most used tool?
Who's talking

Top contributors to this post

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