spotify/web-api-auth-examples — pull request #2 by JMPerez (2014-06-30 14:10:07+00:00)
Title: Add state generation and check

The `state`parameter, even though optional, it is strongly recommended to prevent attacks such as cross-site request forgery. A good way to encourage its use is by adding it to the auth examples.