Is expected that you are already using the app, have set a user and have clicked on the add Authentication key featuring, and can see the above screen.

Click on the bellow "Authorize" button to access Twitch.TV, and give Twitch.TV app for Samsung TV authorization and generate a authentication key code

Twitch.Tv app from