This application can be used to allow log in using a Device Code Flow on input-constrained devices such as TVs.
Using this module, the TV will show a code and QR code. Either the code or the QR code can be used to log in on the TV by logging in on a different device such as a laptop or a smartphone that is not input-constrained.
See the demo for implementation details.