I searched, but I couldn’t find an example request
The oAuth flow requires a web page
And the user you wish to authenticate to manually go thru that flow.
oAuth in a nutshell
- user visits your website
- user clicks a link to twitch
- user accepts or declines the link
- they come back to your website with either a token or a code you can exchange for a token/refresh token.
You cannot do this with jsut username/password you need manual steps from the user you wish to authenticate