Forum Discussion

ionatan's avatar
ionatan
Roku Guru
13 years ago

Linking a Channel to an Online Account

I have some questions about http://blog.roku.com/developer/2011/07/ ... e-account/ .

Isn't easier instead of storing a unique token in device registry to store device id (using GetDeviceUniqueId function) in website database and then every time when a request is sent from channel to server to include also device id as parameter?!

Isn't deleted unique token stored on registry if user reset his device?

Is it possible to display this register page on roku in a category level?

6 Replies

  • The SDK specifically warns against using the device ID (serial number) as a registration token. If you do this and the user later sells or gives away his device, the new owner will inherit the account of the old user.

    Factory reset will remove all contents of all registries. The user would have to relink his device after a factory reset.

    --Mark
  • I am curious about this as well.

    I am working on a service with a free trial type system where we want to eliminate the possibility of getting multiple free trials.

    Would it be acceptable to log the unique serial # in a separate database but then use the method described in the developer guide for actually authenticating/authorizing the viewer (so a factory reset would disassociate the account from the device, but the device would not be able to generate a second free trial?)

    Thanks!
  • destruk's avatar
    destruk
    Streaming Star
    If the end user sold the roku to a new person, why would you not want to give the new owner a free trial?
  • I am curious about this as well.

    I am working on a service with a free trial type system where we want to eliminate the possibility of getting multiple free trials.

    Would it be acceptable to log the unique serial # in a separate database but then use the method described in the developer guide for actually authenticating/authorizing the viewer (so a factory reset would disassociate the account from the device, but the device would not be able to generate a second free trial?)

    Thanks!


    I think that would be acceptable.

    - Joel
  • 360tv's avatar
    360tv
    Streaming Star
    Are you going to have the user type in the entire device ID somewhere on your website?
  • "360tv" wrote:
    Are you going to have the user type in the entire device ID somewhere on your website?


    The device ID is available using roDeviceInfo. It's passed to the website by the player along with the on-screen code and any other pre-registration request info.