spin icon indicating copy to clipboard operation
spin copied to clipboard

refactor(auth): improve authentication flow for oauth 2.0 with local webserver

Open GennadySpb opened this issue 3 years ago • 3 comments

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

GennadySpb avatar Feb 17 '22 02:02 GennadySpb

Hey @dbyron-sf ! Could your check out PR?

GennadySpb avatar Apr 20 '22 12:04 GennadySpb

Hey @dbyron-sf ! Could your check out PR?

I suspect @kskewes-sf is in a better position to review this.

dbyron-sf avatar Apr 20 '22 15:04 dbyron-sf

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.

kskewes-sf avatar Apr 21 '22 22:04 kskewes-sf