andresoviedo / google-drive-ftp-adapter

Google Drive FTP Adapter to connect to google drive through the FTP protocol
GNU Lesser General Public License v3.0
394 stars 93 forks source link

Random Port Assignments When Authenticating #39

Open wagesj45 opened 5 years ago

wagesj45 commented 5 years ago

The authentication step that produces the link to follow in a browser to authenticate gdfa uses a callback URI. The port that it listens to seems to be random each time the service is started. Could that be standardized, or is there a way to predict what port it will listen to?

andresoviedo commented 5 years ago

Good question. The port is managed by google api client library.

I will take a look to see if its possible to configure the port.

andresoviedo commented 5 years ago

Not sure about the motivation of having a dedicated localhost port. What is your use case?

In case that's feasible, I suppose we would need to create a new property and configure Google drive API client with specified port

If anyone wants to push a merge request, please make sure it works with and without specifying port in configuration. Only commit the ¿ 2 ? files that may me be impacted.

vaibhavthapliyal commented 5 years ago

See pull request #45