refactor(auth): improve authentication flow for oauth 2.0 with local webserver
Hello there!
PR is designed to minimize the use of interactive mode for OAuth 2.0 authentication.
The base for the extension is inspired by https://github.com/youtube/api-samples/blob/master/go/oauth2.go
Hey @dbyron-sf ! Could your check out PR?
Hey @dbyron-sf ! Could your check out PR?
I suspect @kskewes-sf is in a better position to review this.
Sure, I remember the interactive cli driven flow and this looks interesting.
I need to refresh myself on spin's oauth flow and get a local setup going which I want to do after we get release 1.27.0 out. Sound okay @GennadySpb ?
There are several reports of spin CLI being broken since 1.14 so it would be good to validate before introducing new changes.
That said will do a quick pass through PR.