Example 1: Looks very old, abandoned, and probably doesn’t work with the latest Helix changes.
Example 2: Confirmed to not work with the latest changes.
Example 3: Generally looks good, but seeing that it’s not an npm package, it would involve copy-pasting code, which is never a good idea in case it needs updates.
I just published a fork of passport-twitch-new which works with the new Helix changes: