We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
CloudServices
4 years agoNew member | Level 2
Using IdentityModel.OidcClient with Dropbox
Hey
I'm using the IdentityModel.OidcClient to authenticate the dropbox account of a user within my application.
The authentication works as expected with one exception: The redirect_uri. ...
Здравко
4 years agoLegendary | Level 20
CloudServices wrote:...
"Invalid redirect_uri: "https://127.0.0.1:51931": It must exactly match one of the redirect URIs you've pre-configured for your app (including the path)."
... Is there a limitation to the amount of redirect URIs?
...
Hi CloudServices,
If you take a look on the parts of your post, that I enlightened above, you will find out the response, I believe.
For Dropbox, URI can vary (arbitrary or not) within border of set of pre-configured redirect URIs, associated to your application. If particular URI (including loopback variation) is not there, error comes up. That's it. Take a look on your application settings.
To be honest, I don't understand what kind of connection problems you are trying to avoid and how port randomization would help you!? 🤔
Hope this clarifies matter.
CloudServices
4 years agoNew member | Level 2
Hi,
I don't know why, but my reply hasn't been accepted by the system. I'm trying to post now in smaller chunks.
I think I have setup the redirect URI the right way (to https://127.0.0.1), as I do for google & co. What I'm trying to find out is: Why Dropbox doesn't accept redirect URIs with random ports.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!