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

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= ?!?!

New member | Level 1
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
Highlighted

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

New member | Level 1
New member | Level 1

Never mind, I used the code flow instead.

Highlighted

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

Dropboxer
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.

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.
Polls
Have you been keeping up good habits while working from home?
We've created a working from home cheat sheet to help keep up on those habits, check it out here.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?