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: 
RokuJoel
Binge Watcher

Re: Private channels: URL linking method no longer working

Our services are having some technical difficulties right now, I don't believe this has anything to do with the issues reported in this thread though the symptoms might be similar. Hopefully back to normal by Monday.

Joel.
0 Kudos
fortscan
Visitor

Re: Private channels: URL linking method no longer working

The default workflow for installing private channels using a direct URL is broken again.

The my.roku.com web service suddenly stopped recognizing the ?next querystring which is appended automatically when an end-user clicks on the linking URL for any channel while not being logged in.

Usual workflow:
1. The user clicks on: https://my.roku.com/add/{channel-access-code}
2. The web service redirects to: https://my.roku.com/signin?next=https%3A%2F%2Fmy.roku.com%2Faccount%2Fadd%3Fchannel%3D{channel-access-code}
3. The login interface is displayed, the user logs in, and is automatically redirected to the installation page for the corresponding channel

Current error:
After step 2., the user is taken by default to https://my.roku.com/index instead of the actual installation page for the corresponding channel.

This is a relatively serious bug since all of the URLs for private channels have suddenly stopped working unless the user is already logged in.
0 Kudos
EnTerr
Roku Guru

Re: Private channels: URL linking method no longer working

Linkbacking for posterity:
"fortscan" wrote:
Technically both methods still work with certain workarounds if you are already logged in to a Roku account.

Examples that work while being already logged in:

a) https://owner.roku.com/add/{access-code}
b) https://my.roku.com/account/add?channel={access-code} (instead of my.roku.com/add/{access-code} )

The real problem is that none of these methods (or any other) seem to work if the user is not already logged in, because the system redirects to my.roku.com/signin and does not retain any of the querystrings that were originally passed to take the user back to the installation page after the login process is completed, such as ?next=...

In other words, if you manually logout from your Roku account (or if you are not already logged in like what happens with most users) and you try to access any private channel linking URL, the process will fail at this time.

For an end-user, it's extremely confusing clicking on a link that should take them to the installation of a channel and -after submitting the Roku credentials- be taken to the standard /index page of the Roku account instead.

This could be quickly fixed if the ?next= querystring that is automatically added when the system redirects to my.roku.com/signin is retained and the system is able to recognize that it should take the user back to the channel installation page after successfully loggin in.

Love the optimism ("this could be quickly fixed") but in my experience RokuCo's web developers are incredible klutzes. I would say they have reached their maximum potential under Peter's principle... in other words, being marginally incompetent. Not "marginally competent", mind you - but a small step further. Just enough to break things yet not enough to get fired.

Am i being too acerbic? I am sorry but it's never excusable to break things in PRODUCTION. That is sacred. Machines should work. Learning-on-the-job is not something web devs should do - if you don't know some modern technology, don't use it till you have mastered it.

Back to the business at hand: we should have a BRIEF and RELIABLE url to add Roku channels by vanity code. Something that can be printed on a business card and be relied to work when a person types it. To be brief, it in front. And to be reliable, it should always work - even if a person is logged off, the workflow should not lose the initial URL and would lead them to the channel screen after having to log in.

So, @RokuCo -
give us something short and sweet to use, like "my.roku.com/add/MYAPPCODE" -
and not something long and stupid, like "https://my.roku.com/account/add?channel=MYAPPCODE"
And guarantee it always works by adding test cases for it to an automated test suite!
0 Kudos
belltown
Roku Guru

Re: Private channels: URL linking method no longer working

"EnTerr" wrote:
Linkbacking for posterity:

give us something short and sweet to use, like "my.roku.com/add/MYAPPCODE[/color]" -
and not something long and stupid, like "https://my.roku.com/account/add?channel=MYAPPCODE"
And guarantee it always works by adding test cases for it to an automated test suite!


Agreed.

Or even: add.roku.com/MYAPPCODE
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.