{"action":"created","issue":{"url":"https://api.github.com/repos/lucadegasperi/oauth2-server-laravel/issues/346","labels_url":"https://api.github.com/repos/lucadegasperi/oauth2-server-laravel/issues/346/labels{/name}","comments_url":"https://api.github.com/repos/lucadegasperi/oauth2-server-laravel/issues/346/comments","events_url":"https://api.github.com/repos/lucadegasperi/oauth2-server-laravel/issues/346/events","html_url":"https://github.com/lucadegasperi/oauth2-server-laravel/issues/346","id":67970231,"number":346,"title":"Return Oauth2 - Facebook Token","user":{"login":"mylonick","id":6692511,"avatar_url":"https://avatars.githubusercontent.com/u/6692511?v=3","gravatar_id":"","url":"https://api.github.com/users/mylonick","html_url":"https://github.com/mylonick","followers_url":"https://api.github.com/users/mylonick/followers","following_url":"https://api.github.com/users/mylonick/following{/other_user}","gists_url":"https://api.github.com/users/mylonick/gists{/gist_id}","starred_url":"https://api.github.com/users/mylonick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mylonick/subscriptions","organizations_url":"https://api.github.com/users/mylonick/orgs","repos_url":"https://api.github.com/users/mylonick/repos","events_url":"https://api.github.com/users/mylonick/events{/privacy}","received_events_url":"https://api.github.com/users/mylonick/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-04-12T22:56:57Z","updated_at":"2015-11-24T23:31:30Z","closed_at":"2015-04-16T13:31:34Z","body":"Very helpful bundle. Helped a lot.\r\nI was wondering if you could help me out with a specific problem i face.\r\n\r\nI am currently using oauth2 to authenticate users with the Password Grant Type.\r\nI would like to use it to provide access tokens to users who login with facebook through a mobile app.\r\nSo, the mobile app is programmed in a way it handles the Facebook authentication process and it only sends me a facebook access token.\r\nMy API gets this token and checks whether it is a new or existing user by checking the facebook ID.\r\nIn either of these two cases i would like to produce a new session token binded to the specific user.\r\nA possibly helpful image is attached.\r\nThanks a lot in advance.\r\n![oauth2 fw](https://cloud.githubusercontent.com/assets/6692511/7107977/5084266c-e180-11e4-9715-fe8379b44f75.png)\r\n"},"comment":{"url":"https://api.github.com/repos/lucadegasperi/oauth2-server-laravel/issues/comments/159438875","html_url":"https://github.com/lucadegasperi/oauth2-server-laravel/issues/346#issuecomment-159438875","issue_url":"https://api.github.com/repos/lucadegasperi/oauth2-server-laravel/issues/346","id":159438875,"user":{"login":"mylonick","id":6692511,"avatar_url":"https://avatars.githubusercontent.com/u/6692511?v=3","gravatar_id":"","url":"https://api.github.com/users/mylonick","html_url":"https://github.com/mylonick","followers_url":"https://api.github.com/users/mylonick/followers","following_url":"https://api.github.com/users/mylonick/following{/other_user}","gists_url":"https://api.github.com/users/mylonick/gists{/gist_id}","starred_url":"https://api.github.com/users/mylonick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mylonick/subscriptions","organizations_url":"https://api.github.com/users/mylonick/orgs","repos_url":"https://api.github.com/users/mylonick/repos","events_url":"https://api.github.com/users/mylonick/events{/privacy}","received_events_url":"https://api.github.com/users/mylonick/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T23:31:30Z","updated_at":"2015-11-24T23:31:30Z","body":"@gn0rt0n , if you successfully done a more abstract implementation i would be very interested."}}