Generally speaking if you are authenticating yourself you can use other options.
Example: Node example to illistrate the flow: https://github.com/BarryCarlyon/twitch_misc/tree/main/authentication/user_access_without_server
If you are authenticating someone else, then you’ll need a website to send that someone else to in order to provide permissions.
Example: any basic oAuth as you’ll need a website for the other user to interact.