{"action":"created","issue":{"url":"https://api.github.com/repos/Neno0o/Uber-Android-SDK/issues/3","labels_url":"https://api.github.com/repos/Neno0o/Uber-Android-SDK/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/Neno0o/Uber-Android-SDK/issues/3/comments","events_url":"https://api.github.com/repos/Neno0o/Uber-Android-SDK/issues/3/events","html_url":"https://github.com/Neno0o/Uber-Android-SDK/issues/3","id":115008135,"number":3,"title":"Client Secret should not be in mobile app code","user":{"login":"kishykumar","id":1509180,"avatar_url":"https://avatars.githubusercontent.com/u/1509180?v=3","gravatar_id":"","url":"https://api.github.com/users/kishykumar","html_url":"https://github.com/kishykumar","followers_url":"https://api.github.com/users/kishykumar/followers","following_url":"https://api.github.com/users/kishykumar/following{/other_user}","gists_url":"https://api.github.com/users/kishykumar/gists{/gist_id}","starred_url":"https://api.github.com/users/kishykumar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kishykumar/subscriptions","organizations_url":"https://api.github.com/users/kishykumar/orgs","repos_url":"https://api.github.com/users/kishykumar/repos","events_url":"https://api.github.com/users/kishykumar/events{/privacy}","received_events_url":"https://api.github.com/users/kishykumar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-04T09:23:36Z","updated_at":"2015-11-04T17:39:36Z","closed_at":null,"body":"Shouldn't the mobile app code not include the client secret? \r\n\r\nAs far as I know, mobile apps should not include the CLIENT SECRET in the source code because of source code confidentiality.\r\nThe following article confirms the same:\r\nhttp://aaronparecki.com/articles/2012/07/29/1/oauth2-simplified\r\n\r\nYou are fetching the access_token from code assuming it's a web server app. "},"comment":{"url":"https://api.github.com/repos/Neno0o/Uber-Android-SDK/issues/comments/153803538","html_url":"https://github.com/Neno0o/Uber-Android-SDK/issues/3#issuecomment-153803538","issue_url":"https://api.github.com/repos/Neno0o/Uber-Android-SDK/issues/3","id":153803538,"user":{"login":"Neno0o","id":3613763,"avatar_url":"https://avatars.githubusercontent.com/u/3613763?v=3","gravatar_id":"","url":"https://api.github.com/users/Neno0o","html_url":"https://github.com/Neno0o","followers_url":"https://api.github.com/users/Neno0o/followers","following_url":"https://api.github.com/users/Neno0o/following{/other_user}","gists_url":"https://api.github.com/users/Neno0o/gists{/gist_id}","starred_url":"https://api.github.com/users/Neno0o/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Neno0o/subscriptions","organizations_url":"https://api.github.com/users/Neno0o/orgs","repos_url":"https://api.github.com/users/Neno0o/repos","events_url":"https://api.github.com/users/Neno0o/events{/privacy}","received_events_url":"https://api.github.com/users/Neno0o/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T17:39:36Z","updated_at":"2015-11-04T17:39:36Z","body":"According to Uber Doc, client_secret is used to get an access token\r\ncheck out their docs:\r\nhttps://developer.uber.com/v1/auth/"}}