For a personal application/project any of the oAuth flows work.
Generally for what you describe you should be using “regular”/(code) oAuth which provides a access and refresh tokens. Then when the access token dies use the refresh token to get a new access token.
For this requries a “server application”/server code since the calls should be blocked on CORS. To prevent leaking of a ClientSecret.
So
Any works you jsut need to write the code to go with it
For the quick start you can use the TwitchCLI to generate a token then copy/paste the token to your app from what the CLI generates