Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ssaguiar
Streaming Star

How to create a login form for my roku channel

Jump to solution

Hi to all.

This is my first post and I wish to thank everyone for some help.

My problem is that we have an application which runs in other smart tv's, using html5, css3 and javascript.

Now, I need to implement it on Roku system.

For this, to start, I wish to know how I can implement a login form, as in the others tv's systems.

This login form has 2 fields (username and password) and one button to send the login data to our server and authenticate the user. It must call our webservice for this.

Is this kind of authentication method possible with Roku? How?

I ask this because I haven't found any information on how to do it as described.

I am totally new to Roku system and Brightscript.

Thanks very much for any help.

0 Kudos
1 Solution

Accepted Solutions
renojim
Community Streaming Expert

Re: How to create a login form for my roku channel

Jump to solution

@ssaguiar, you don't need any kind of special form.  Just prompt the user for an email address and password.  I just did something similar on the Radio Paradise channel.  You have to offer the user the email address associated with the Roku account, but they can enter any email address.

Of course if this is about Direct Publisher then I have no idea how to do it.

Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.

View solution in original post

4 REPLIES 4
ssaguiar
Streaming Star

Re: How to create a login form for my roku channel

Jump to solution

Our app (channel) is intended to be used by our customers who are already our clientes (the pay for our iptv service - which is legally authorized by operators).

So, as said, we need to authorize those clients so they can use our roku channel.

This must be done by username / password as they already have accounts within our system (database / webservice).

How can I implement this?

I already created the login page with username and password fields among the login button.

I an login in our system without any problem, receive the channels list receive the programs and play them using a RowList and Video .

Any help, please?

Thanks

0 Kudos
renojim
Community Streaming Expert

Re: How to create a login form for my roku channel

Jump to solution

@ssaguiar, you don't need any kind of special form.  Just prompt the user for an email address and password.  I just did something similar on the Radio Paradise channel.  You have to offer the user the email address associated with the Roku account, but they can enter any email address.

Of course if this is about Direct Publisher then I have no idea how to do it.

Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
ssaguiar
Streaming Star

Re: How to create a login form for my roku channel

Jump to solution

Dear friend, thank you very much for your answer.

I installed your channel on my Roku device and it's beautiful.

I wish to know if you could share the code you use to login (it seem it uses StandardKeyboardDialog).

Another question about this authentication: when I login, in the password ti shows the password plain text. Can this be changed to not show password this way (not show plain text password)?

Thank you and congratulations for the excellent channel (I already made my registration to your channel)

 

0 Kudos
ssaguiar
Streaming Star

Re: How to create a login form for my roku channel

Jump to solution

I saw that, using StandardKeyboardDialog, we can use the field keyboardDomain to select the type of text to be entered:

  • "email": letter-by-letter dictation for emails.
  • "numeric": letter-by-letter dictation for PIN codes, zip codes, and other numeric input.
  • "alphanumeric": letter-by-letter dication for street addresses or other sequences of numbers and letters.
  • "generic": Full word input for search queries or other sequences of numbers, letters and symbols.
  • "password": letter-by-letter dication for passwords.

Now, I am trying to change it's colors, background and so.

 

 

0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.