// Once the user has been redirected to the redirect URL, you'll have access to the // authorization code. For security reasons, your code should verify that the `state` // parameter returned by the server matches `csrf_state`.
Presumably this is meant to refer to csrf_token which is set in the code above that comment?
The same issue occurs several times in later examples.