{"action":"created","issue":{"url":"https://api.github.com/repos/simplabs/rails_api_auth/issues/39","repository_url":"https://api.github.com/repos/simplabs/rails_api_auth","labels_url":"https://api.github.com/repos/simplabs/rails_api_auth/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/simplabs/rails_api_auth/issues/39/comments","events_url":"https://api.github.com/repos/simplabs/rails_api_auth/issues/39/events","html_url":"https://github.com/simplabs/rails_api_auth/issues/39","id":150340883,"number":39,"title":"Clarity on facebook uri","user":{"login":"dominicfollett","id":9007502,"avatar_url":"https://avatars.githubusercontent.com/u/9007502?v=3","gravatar_id":"","url":"https://api.github.com/users/dominicfollett","html_url":"https://github.com/dominicfollett","followers_url":"https://api.github.com/users/dominicfollett/followers","following_url":"https://api.github.com/users/dominicfollett/following{/other_user}","gists_url":"https://api.github.com/users/dominicfollett/gists{/gist_id}","starred_url":"https://api.github.com/users/dominicfollett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominicfollett/subscriptions","organizations_url":"https://api.github.com/users/dominicfollett/orgs","repos_url":"https://api.github.com/users/dominicfollett/repos","events_url":"https://api.github.com/users/dominicfollett/events{/privacy}","received_events_url":"https://api.github.com/users/dominicfollett/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/simplabs/rails_api_auth/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-22T11:10:10Z","updated_at":"2016-04-22T11:49:17Z","closed_at":"2016-04-22T11:44:06Z","body":"Hi I am a bit confused about the redirect uri's\r\n\r\n```rb\r\n raa.facebook_redirect_uri = 'redirect_uri'\r\n```\r\n\r\nWhich url is this? \r\n\r\nIn addition how does the rail_api_auth gem get the authorization grant from another server?"},"comment":{"url":"https://api.github.com/repos/simplabs/rails_api_auth/issues/comments/213391183","html_url":"https://github.com/simplabs/rails_api_auth/issues/39#issuecomment-213391183","issue_url":"https://api.github.com/repos/simplabs/rails_api_auth/issues/39","id":213391183,"user":{"login":"dominicfollett","id":9007502,"avatar_url":"https://avatars.githubusercontent.com/u/9007502?v=3","gravatar_id":"","url":"https://api.github.com/users/dominicfollett","html_url":"https://github.com/dominicfollett","followers_url":"https://api.github.com/users/dominicfollett/followers","following_url":"https://api.github.com/users/dominicfollett/following{/other_user}","gists_url":"https://api.github.com/users/dominicfollett/gists{/gist_id}","starred_url":"https://api.github.com/users/dominicfollett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominicfollett/subscriptions","organizations_url":"https://api.github.com/users/dominicfollett/orgs","repos_url":"https://api.github.com/users/dominicfollett/repos","events_url":"https://api.github.com/users/dominicfollett/events{/privacy}","received_events_url":"https://api.github.com/users/dominicfollett/received_events","type":"User","site_admin":false},"created_at":"2016-04-22T11:49:17Z","updated_at":"2016-04-22T11:49:17Z","body":"Thanks, that helps. \r\n\r\nSo in a call to localhost/token, I would include the authorization code in the payload, and then rails_api_auth would then send it to the redirect uri to get the token?\r\n\r\ncontext:\r\n\r\nI've been adding support to rails_api_auth for the Edx learning platform (on a fork), but I have just been trying to get my head around some of the stuff :)"}}