- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: How to create a login form for my roku channel
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: How to create a login form for my roku channel
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)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: How to create a login form for my roku channel
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.