{"action":"opened","issue":{"url":"https://api.github.com/repos/asjoyner/fuse_gdrive/issues/15","repository_url":"https://api.github.com/repos/asjoyner/fuse_gdrive","labels_url":"https://api.github.com/repos/asjoyner/fuse_gdrive/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/asjoyner/fuse_gdrive/issues/15/comments","events_url":"https://api.github.com/repos/asjoyner/fuse_gdrive/issues/15/events","html_url":"https://github.com/asjoyner/fuse_gdrive/issues/15","id":329758278,"node_id":"MDU6SXNzdWUzMjk3NTgyNzg=","number":15,"title":"Param Port conflict","user":{"login":"Yifei0727","id":6064040,"node_id":"MDQ6VXNlcjYwNjQwNDA=","avatar_url":"https://avatars2.githubusercontent.com/u/6064040?v=4","gravatar_id":"","url":"https://api.github.com/users/Yifei0727","html_url":"https://github.com/Yifei0727","followers_url":"https://api.github.com/users/Yifei0727/followers","following_url":"https://api.github.com/users/Yifei0727/following{/other_user}","gists_url":"https://api.github.com/users/Yifei0727/gists{/gist_id}","starred_url":"https://api.github.com/users/Yifei0727/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yifei0727/subscriptions","organizations_url":"https://api.github.com/users/Yifei0727/orgs","repos_url":"https://api.github.com/users/Yifei0727/repos","events_url":"https://api.github.com/users/Yifei0727/events{/privacy}","received_events_url":"https://api.github.com/users/Yifei0727/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-06T08:09:37Z","updated_at":"2018-06-06T08:09:37Z","closed_at":null,"author_association":"NONE","body":"Hi, this is a great project and I have it. \r\nBut when I use this app for oauth by google , http redirect to `localhost:12345`\r\nOf course it failed because  port `12345` was used  by previous other  processes.\r\n\r\nSo I change `src/github.com/asjoyner/fuse_gdrive/fuse_gdrive.go` \r\n```go\r\nport                 = flag.String(\"port\", \"12345\", \"HTTP Server port; your browser will send credentials here.  Must be accessible to your browser, and authorized in the developer console.\")\r\n```\r\nto an idle port and success.\r\n\r\n\r\nSo I have a small suggestion\r\nhow about use a random port for oauth redirect?\r\n\r\n```python\r\nfor port in range (10000,65535):\r\n   if bind(localhost, port).success:\r\n      break\r\n```\r\n"}}
{"actor":{"display_login":"Yifei0727"}}