Oauth for Helix endpoint

The ID never changes

With helix you can

https://api.twitch.tv/helix/streams?user_login=username

Theres no need to get the UserID first. But if the only thing you store is the username, when/if the username changes your code will break.

So when a user signs up, get and store their ID in a DB and use that all the time