{"action":"created","issue":{"url":"https://api.github.com/repos/thomseddon/node-oauth2-server/issues/134","labels_url":"https://api.github.com/repos/thomseddon/node-oauth2-server/issues/134/labels{/name}","comments_url":"https://api.github.com/repos/thomseddon/node-oauth2-server/issues/134/comments","events_url":"https://api.github.com/repos/thomseddon/node-oauth2-server/issues/134/events","html_url":"https://github.com/thomseddon/node-oauth2-server/pull/134","id":53335599,"number":134,"title":"Add Redis example","user":{"login":"robinjmurphy","id":917111,"avatar_url":"https://avatars.githubusercontent.com/u/917111?v=3","gravatar_id":"","url":"https://api.github.com/users/robinjmurphy","html_url":"https://github.com/robinjmurphy","followers_url":"https://api.github.com/users/robinjmurphy/followers","following_url":"https://api.github.com/users/robinjmurphy/following{/other_user}","gists_url":"https://api.github.com/users/robinjmurphy/gists{/gist_id}","starred_url":"https://api.github.com/users/robinjmurphy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robinjmurphy/subscriptions","organizations_url":"https://api.github.com/users/robinjmurphy/orgs","repos_url":"https://api.github.com/users/robinjmurphy/repos","events_url":"https://api.github.com/users/robinjmurphy/events{/privacy}","received_events_url":"https://api.github.com/users/robinjmurphy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-04T12:54:11Z","updated_at":"2015-01-26T22:01:50Z","closed_at":"2015-01-26T22:01:50Z","pull_request":{"url":"https://api.github.com/repos/thomseddon/node-oauth2-server/pulls/134","html_url":"https://github.com/thomseddon/node-oauth2-server/pull/134","diff_url":"https://github.com/thomseddon/node-oauth2-server/pull/134.diff","patch_url":"https://github.com/thomseddon/node-oauth2-server/pull/134.patch"},"body":"I've been using the server with [Redis](http://redis.io/) and thought I'd contribute a simple example. It currently supports the `password` and `refresh_token` grants, but if you think it's a useful example I can add in the methods needed for the remaining grant types.\r\n\r\nI've added a simple `index.js` file borrowing the necessary bits from the [PostgreSQL example](https://github.com/thomseddon/node-oauth2-server/blob/master/examples/postgresql/index.js), but I noticed that not all of the examples have one so let me know if you think it's useful or not.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/thomseddon/node-oauth2-server/issues/comments/71547803","html_url":"https://github.com/thomseddon/node-oauth2-server/pull/134#issuecomment-71547803","issue_url":"https://api.github.com/repos/thomseddon/node-oauth2-server/issues/134","id":71547803,"user":{"login":"thomseddon","id":747138,"avatar_url":"https://avatars.githubusercontent.com/u/747138?v=3","gravatar_id":"","url":"https://api.github.com/users/thomseddon","html_url":"https://github.com/thomseddon","followers_url":"https://api.github.com/users/thomseddon/followers","following_url":"https://api.github.com/users/thomseddon/following{/other_user}","gists_url":"https://api.github.com/users/thomseddon/gists{/gist_id}","starred_url":"https://api.github.com/users/thomseddon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomseddon/subscriptions","organizations_url":"https://api.github.com/users/thomseddon/orgs","repos_url":"https://api.github.com/users/thomseddon/repos","events_url":"https://api.github.com/users/thomseddon/events{/privacy}","received_events_url":"https://api.github.com/users/thomseddon/received_events","type":"User","site_admin":false},"created_at":"2015-01-26T22:01:50Z","updated_at":"2015-01-26T22:01:50Z","body":"This is awesome! Thanks!\r\n\r\nMerged in 5cf4504e060e1c87594d774eafe82f21fe0271e7"}}