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. ...
CloudServices
4 years agoNew member | Level 2
Example:
My registered redirect URI at google is https://127.0.0.1. If I now send an authentication request with the redirect URI set to https://127.0.0.1:51931. Google accepts this redirect URI, because the port doesn't change the destination.
Dropbox on the other hand seems to be very strict when it comes to the redirect URIs. The redirect URI from the authentication request has to match exactly the registered redirect URI (port included).
I would prefer to use random ports to avoid problems on machines where ports might be not available do to e.g. firewall settings. This way it's possible to switch from a blocked port to a free port without having to register another redirect URI.
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!