feat(providers): Support interactive oauth setup for gdrive. #3288
+345
−30
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #3047, #2656
Hi @jkowalski,
Would you take an early look at this PR:
I would like your opinion on how the ephemeral http server is structured. You mentioned that you may want to add more use cases in the future, so maybe a consistent architecture would help? I also don't work with go serving on my day job, so feedback is much appreciated here.
I also marked the existing service account-based auth as deprecated in the CLI, although it should work. It's my opinion that we should mark it obsolete and remove it soon, since the gotchas with the quota is great and confusing.
The overall flow of the code:
repository create
, we launch a http server that serves 2 ajax endpoints and a html file.Edge cases:
Thanks,
xkxx