Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
Olive T.
9 years agoNew member | Level 1
Padding around elements in /oauth2/authorize login UI
Is there any way to get the oauth2/authorize page to put padding around the login UI?
My app's UI looks like this (I'm not using the iOS SDKs, I'm using the REST API directly, so that I can present...
Olive T.
9 years agoNew member | Level 1
This is what it used to look like:

I say "it", but "it" is a different thing to the "it" from before: here, it's the "/1/connect_login" endpoint from the v1 API, whereas further above, it's the "/oauth2/authorize" endpoint from the v2 API.
I've just realised something else: on iPhone it looks fine, albeit different from the v1 endpoint styling:

Are you serving different pages to the iPad and iPhone, on the basis that the iPad's screen is wide enough to show the desktop version, and that the iOS SDK presents the login page in a modal form view?
If so, please ask your team to change that. It's tempting to think that the User-Agent gives you information about the context in which the page will be displayed, but that's not the case. It used to be that you could assume fullscreen presentation on an iPad, but that's no longer true: modern iPads can now run different apps split-screen. You now need to take a "responsive" approach, i.e. layout differently according to the width of the browser "window": the "desktop" version of the page should reflow to a compact layout when the user resizes their "desktop" browser window below a certain width, and there should be no "mobile version" of the page.
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
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!