feat: dynamically start oauth flow if no SRC_ACCESS_TOKEN by burmudar · Pull Request #1271 · sourcegraph/src-cli
added 2 commits
March 9, 2026 20:58
burmudar
marked this pull request as ready for review
burmudar
marked this pull request as ready for review
burmudar added a commit that referenced this pull request
Mar 23, 2026* add AuthMode to config - AuthModeAccessToken and AuthModeOAuth - And check for CI and required AuthModeAccessToken * decide loginFlow based on config AuthMode * remove oauth flag * check for OAuth token precense before starting a new OAuth flow * remove unused ctx (cherry picked from commit 4c3f356)
burmudar added a commit that referenced this pull request
Mar 23, 2026* add AuthMode to config - AuthModeAccessToken and AuthModeOAuth - And check for CI and required AuthModeAccessToken * decide loginFlow based on config AuthMode * remove oauth flag * check for OAuth token precense before starting a new OAuth flow * remove unused ctx (cherry picked from commit 4c3f356)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters