Missing details for using the recommended approach
In the 'next steps' sections it mentions:
To authenticate your chatbot in a production setting, we recommend you register your app (chatbot) and use the OAuth Authorization code flow. This enables you to authenticate programmatically. To learn more, see the Apps & Authentication Guide.
I have created the app and can get the token, but have no idea what to use for the nick / pw. Since this is the recommended way, would much prefer an example or details on this rather than the login-as-user given currently.