{"action":"created","issue":{"url":"https://api.github.com/repos/nestjs/docs.nestjs.com/issues/75","repository_url":"https://api.github.com/repos/nestjs/docs.nestjs.com","labels_url":"https://api.github.com/repos/nestjs/docs.nestjs.com/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/nestjs/docs.nestjs.com/issues/75/comments","events_url":"https://api.github.com/repos/nestjs/docs.nestjs.com/issues/75/events","html_url":"https://github.com/nestjs/docs.nestjs.com/issues/75","id":322024245,"node_id":"MDU6SXNzdWUzMjIwMjQyNDU=","number":75,"title":"Add OAuth2 example for passport","user":{"login":"weeco","id":23424570,"node_id":"MDQ6VXNlcjIzNDI0NTcw","avatar_url":"https://avatars3.githubusercontent.com/u/23424570?v=4","gravatar_id":"","url":"https://api.github.com/users/weeco","html_url":"https://github.com/weeco","followers_url":"https://api.github.com/users/weeco/followers","following_url":"https://api.github.com/users/weeco/following{/other_user}","gists_url":"https://api.github.com/users/weeco/gists{/gist_id}","starred_url":"https://api.github.com/users/weeco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weeco/subscriptions","organizations_url":"https://api.github.com/users/weeco/orgs","repos_url":"https://api.github.com/users/weeco/repos","events_url":"https://api.github.com/users/weeco/events{/privacy}","received_events_url":"https://api.github.com/users/weeco/received_events","type":"User","site_admin":false},"labels":[{"id":908449119,"node_id":"MDU6TGFiZWw5MDg0NDkxMTk=","url":"https://api.github.com/repos/nestjs/docs.nestjs.com/labels/content","name":"content","color":"c4ff14","default":false},{"id":983743026,"node_id":"MDU6TGFiZWw5ODM3NDMwMjY=","url":"https://api.github.com/repos/nestjs/docs.nestjs.com/labels/type:%20example","name":"type: example","color":"8d2aea","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-05-10T17:58:17Z","updated_at":"2018-09-11T13:40:05Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I was trying to use the new Passport module in order to implement the whole OAuth2 Process (Google Login). However I was not sure how I am supposed to handle the callback where one would usually call `passport.authenticate()`.\r\n\r\nCan you add documentation which shows an OAuth2 login via Google (or some other provider)?"},"comment":{"url":"https://api.github.com/repos/nestjs/docs.nestjs.com/issues/comments/420278245","html_url":"https://github.com/nestjs/docs.nestjs.com/issues/75#issuecomment-420278245","issue_url":"https://api.github.com/repos/nestjs/docs.nestjs.com/issues/75","id":420278245,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDI3ODI0NQ==","user":{"login":"Offlein","id":94387,"node_id":"MDQ6VXNlcjk0Mzg3","avatar_url":"https://avatars3.githubusercontent.com/u/94387?v=4","gravatar_id":"","url":"https://api.github.com/users/Offlein","html_url":"https://github.com/Offlein","followers_url":"https://api.github.com/users/Offlein/followers","following_url":"https://api.github.com/users/Offlein/following{/other_user}","gists_url":"https://api.github.com/users/Offlein/gists{/gist_id}","starred_url":"https://api.github.com/users/Offlein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Offlein/subscriptions","organizations_url":"https://api.github.com/users/Offlein/orgs","repos_url":"https://api.github.com/users/Offlein/repos","events_url":"https://api.github.com/users/Offlein/events{/privacy}","received_events_url":"https://api.github.com/users/Offlein/received_events","type":"User","site_admin":false},"created_at":"2018-09-11T13:40:05Z","updated_at":"2018-09-11T13:40:05Z","author_association":"NONE","body":"@kamilmysliwiec Thanks very much. Sorry, I hadn't intended to push you into giving a more thorough review, but I appreciate it very much. I'll try to replicate @weeco's functionality for my own Google OAuth02 implementation. I'm using passport-google-oauth20 as opposed to the Google+ implemention he uses, and I'm having a lot of issues otherwise.\r\n\r\n... That said (and not to muddy the comment thread up too much) I think NestJS is really well thought-out and, with the exception of some documentation issues, pretty usable in general!"}}
{"actor":{"display_login":"Offlein"}}