OAuth 2.0 for Mobile and Native Apps
Some use cases require a command line interface (CLI) or rich client application to interact with the system. These usually run on a user’s system that can not securely handle an application client secret.
Therefore, the way to authenticate a user for these usecases is as follows: