Forum Discussion

Guy G.7's avatar
Guy G.7
New member | Level 1
11 years ago

Authentication to dropbox on tvOS

I want to authenticate to dropbox in tvOS. However, when dropbox opens the authentication dialog, there is not way for the user to fill it- the UI does not meet the tvOS requirements. So I want to open a tvOS dialog for username/password. But Is there a way then to take this data to authenticate manually, i.e. using code that will input the dropbox username and password?

Thanks

36 Replies

Replies have been turned off for this discussion
  • John D.64's avatar
    John D.64
    New member | Level 1
    10 years ago

    Did it. How to use tvOSDropboxAccessToken ?

    By the way, plenty of Swifty forks are on Github trying to support tvOS.

  • Shane D.6's avatar
    Shane D.6
    New member | Level 1
    10 years ago

    I thought I'd give some info on how I've done authentication with other cloud providers on tvos.  As some have already mentioned, tvos doesn't allow web views.  While some devs go the route of presenting a code to the user, and having them browse to a web site to enter that code, I went another route.  I use a companion iOS app to send the token to the apple tv app, once the user has authenticated via oAuth.  Lots of other tvos apps are going this route, as you don't have to have a web server.  

  • Sam S.45's avatar
    Sam S.45
    New member | Level 1
    10 years ago

    Fabric's Digits authentication library looks pretty good on tvOS. It would be really nice if Dropbox included support for that as a sign-in method. It looks like it supports some sort of interaction with OAuth. Has Dropbox considered integrating it at all? Alternatively, is there any update on when there will be a SwiftyDropbox version released that is both tvOS native and able to handle authentication mostly on the TV (with little or no server-side coding required on the part of the app developer)?

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    10 years ago

    Thanks for the feedback. I don't have an update on this on our side though.

  • Shane D.5's avatar
    Shane D.5
    New member | Level 1
    10 years ago

    We've released an app in the Apple TV App Store that allows you to view your Dropbox photos and videos on your Apple TV.  Enjoy!

     

About Dropbox API Support & Feedback

Node avatar for 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!