{"action":"created","issue":{"url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1224","labels_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1224/labels{/name}","comments_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1224/comments","events_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1224/events","html_url":"https://github.com/IdentityServer/IdentityServer3/issues/1224","id":69628995,"number":1224,"title":"CustomGranValidator for External Login","user":{"login":"dandresini","id":3338265,"avatar_url":"https://avatars.githubusercontent.com/u/3338265?v=3","gravatar_id":"","url":"https://api.github.com/users/dandresini","html_url":"https://github.com/dandresini","followers_url":"https://api.github.com/users/dandresini/followers","following_url":"https://api.github.com/users/dandresini/following{/other_user}","gists_url":"https://api.github.com/users/dandresini/gists{/gist_id}","starred_url":"https://api.github.com/users/dandresini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dandresini/subscriptions","organizations_url":"https://api.github.com/users/dandresini/orgs","repos_url":"https://api.github.com/users/dandresini/repos","events_url":"https://api.github.com/users/dandresini/events{/privacy}","received_events_url":"https://api.github.com/users/dandresini/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/IdentityServer/IdentityServer3/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-20T16:47:06Z","updated_at":"2015-05-26T19:22:32Z","closed_at":null,"body":"I Dominick,\r\nin my project I used Identity Server v3 + Membership Reboot. I split Identity Server and User Registration in two web application. \r\nIn  User Manager project (end User) I used Angular JS, and I created a function to  get a local access token, after validate social token request.\r\nIn identity Server I had configured a CustomGrantValidator where I passed the access token and the provider  from the User project, so I can \"verify external access token\", get the user and create the local access token for angularjs call.\r\n\r\n I inserted in Client class a new Dictionary property where I loaded the social app information (ex. for facebook: app_id, app_token), so I can verify if app of social that i use in User web application is the same  of the client id Identity Server associated. What do you think? "},"comment":{"url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/comments/105640752","html_url":"https://github.com/IdentityServer/IdentityServer3/issues/1224#issuecomment-105640752","issue_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1224","id":105640752,"user":{"login":"dandresini","id":3338265,"avatar_url":"https://avatars.githubusercontent.com/u/3338265?v=3","gravatar_id":"","url":"https://api.github.com/users/dandresini","html_url":"https://github.com/dandresini","followers_url":"https://api.github.com/users/dandresini/followers","following_url":"https://api.github.com/users/dandresini/following{/other_user}","gists_url":"https://api.github.com/users/dandresini/gists{/gist_id}","starred_url":"https://api.github.com/users/dandresini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dandresini/subscriptions","organizations_url":"https://api.github.com/users/dandresini/orgs","repos_url":"https://api.github.com/users/dandresini/repos","events_url":"https://api.github.com/users/dandresini/events{/privacy}","received_events_url":"https://api.github.com/users/dandresini/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T19:22:32Z","updated_at":"2015-05-26T19:22:32Z","body":"Yes, i continue to work in it"}}