How to force_verify with Twitch Authentication Node Sample?

That example uses the passport Twitch strategy.

A brief read of the passportJS docs it seems that it doesn’t support it.

As per my example(s)

You just add force_verify=true to the URL you redirect the user to Twitch with

So

https://id.twitch.tv/oauth2/authorize?client_id=MyClientID&redirect_uri=MyRredict&response_type=code&scope=SCOPES

becomes

https://id.twitch.tv/oauth2/authorize?client_id=MyClientID&redirect_uri=MyRredict&response_type=code&force_verify=true&scope=SCOPES

1 Like