Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT]: Default client ID and client secret for each provider #65

Closed
gamemaker1 opened this issue May 25, 2021 · 1 comment
Closed

[FEAT]: Default client ID and client secret for each provider #65

gamemaker1 opened this issue May 25, 2021 · 1 comment
Labels
enhancement New feature or request next-release To be added in the next release
Milestone

Comments

@gamemaker1
Copy link
Member

Is your feature request related to a problem? Please describe.
When creating a new drive for a different Google/Microsoft/etc account, I need to enter the client ID - client secret again. This is a bit frustrating, especially if I have not saved them somewhere when I generated them.

Describe the solution you'd like
Allow the user to set a default client ID - client secret pair per provider which is used when creating a new drive with that provider. These default client IDs and client secrets are set automatically when you create a new drive with that provider for the first time. In the future, the prompts for client ID and client secret will default to these values if no client ID and client secret is specified. These fields can be changed using the proposed config command (see #64).

Describe alternatives you've considered

  • Using the client ID - client secret pair from the first drive of the same provider you find in the config file (possible, but inflexible: the user may want to use a different client ID - client secret pair)
  • Making the user set the client ID and secret for each provider while setting up, before creating any drives (inconvenient)

Additional context
Also related: (#14)

@gamemaker1 gamemaker1 added the enhancement New feature or request label May 25, 2021
@gamemaker1 gamemaker1 added this to the v3.3.0 milestone May 26, 2021
@gamemaker1 gamemaker1 added the next-release To be added in the next release label May 26, 2021
@gamemaker1
Copy link
Member Author

Closed by dcc7e10 (adds default values feature)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request next-release To be added in the next release
Projects
None yet
Development

No branches or pull requests

1 participant