cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Back again with another edition of 'How we use Dropbox', so find out how Emma uses to-do lists to get it all done 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 does Redirect URI in App Console work?

How does Redirect URI in App Console work?

JustUsAgency
New member | Level 2

Hi there,

 

I've been trying to get my head around OAuth redirect URI and it makes no sense to me! Can someone please explain to me how it works and how I make my plugin do the thing it should do?

 

I'm using a Wordpress plugin call External Media and it asked me to create an app. So far so good. I created the app and gave the plugin the key but when I try to give the app the web addess that the site is currently hosted on, it doesn't like it. I was wondering whether or not I needed to create the OAuth redirect URI but I've simpy NO IDEA what one is and what I should be writing in that box.

 

I've read the documentation several times and it still seems like gibberish and I just want to go lie down in a darkened room.

 

HAYULP!!DropboxMediaError.png

3 Replies 3

Re: How does Redirect URI in App Console work?

Greg-DB
Dropboxer

I recommend reading through the OAuth guide first to get an understanding of how the flow works:

https://www.dropbox.com/developers/reference/oauth-guide

The documentation for it can be found here:

https://www.dropbox.com/developers/documentation/http/documentation#authorization

Also, in your screenshot, you're trying to register a redirect URI in the "Chooser/Saver domains" fields. That field is for a different feature. OAuth redirect URIs should be entered in the "OAuth 2 Redirect URIs" field above it.

Re: How does Redirect URI in App Console work?

JustUsAgency
New member | Level 2

Hi Greg, thanks for replying but the question already says I couldn't get my head around the documentation so telling me to read the documentation doesn't help that much.

 

I was asking whether or not I needed to fill in the OAuth section to utilise the Wordpress plugin that I'm using (https://en-gb.wordpress.org/plugins/external-media/). It needs the Chooser/Saver section but doesn't make any mention of the Oauth section. Is that an oversight on their part?

 

Charlie

Re: How does Redirect URI in App Console work?

Greg-DB
Dropboxer
Apologies if that wasn't helpful! I wasn't sure if you read the OAuth guide in particular, so I wanted to make sure you were aware of it in addition to the normal documentation for the OAuth endpoints themselves.

I can't offer support or guidance on how the Wordpress plugin should be used, but if you do just need to use the Chooser/Saver, you don't need to set or use OAuth redirect URIs at all. (Your original message did ask for help with the latter, so apologies for the confusion there.)

Anyway, if you just need to set Chooser/Saver domains, note that when doing so you should input only the domain part (i.e., not including the protocol or path). So in your case, you should just enter "testing.wellstheatrefestival.org" (or "wellstheatrefestival.org" if you want to allow any subdomain). Hope this helps!
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
    JustUsAgency New member | Level 2
What do Dropbox user levels mean?
Need more support?