Verifying ID token from OIDC Auth Flow

Ok thanks again Barry, your time is much appreciated over here!

I’m using that npm package you posted.The verify function is giving null for the error field, and the decoded ID_Token for payload field. Does this imply verification?

For future observers of this message that decide to use this package, be sure to pass a nonce parameter on your initial OIDC authorization call (You should see a nonce field in your corresponding decoded ID_Token).

Also make sure you provide a direct link to the JWK as follows,

var verifier = new IdTokenVerifier({
	    issuer: issuer,
	    audience: clientID,
	    jwksURI:'https://id.twitch.tv/oauth2/keys'
	});