Just authenticate with no scopes specified (leave it blank, or just omit the “scope=” from your authentication URL, as I know it’s possible) and hit the https://api.twitch.tv/kraken/ endpoint with the OAuth token, there’s a value for just the username (token.user_name).