- Sourcegraph version:
- Platform information: Sourcegraph for VSCode 2.2.12+
Steps to reproduce:
- Install Sourcegraph for VSCode 2.2.12 and above for the first time.
Expected behavior:
The auth process for Sourcegraph.com (OSS code) and private instances (private code) are separated, and it is clear what Sourcegraph instance you are authenticating.
Actual behavior:
The 'Search your private code' section is misleading since sourcegraph.com doesn't host private code anymore. Since the auth process for Sourcegraph.com and private instances happen under the 'Search your private code' section, users get login errors because it is unclear what instance they are authenticating. If sourcegraph.url is not set in the extension settings.json file, it defaults to sourcegraph.com.
The UI shows a 'Search your private code' section with a 'Create an account button' and a 'Have an account button.'

'Create an account' opens the browser to Sourcegraph.com and changes the UI to this screen. On this screen, it looks like user should be able to log into their private instance but this attempts a login for sourcegraph.com unless sourcegraph.url is set in the extension settings.json


On this screen, the header says 'Search your private code' so users use access tokens for their private instances, and this attempts a login to sourcegraph.com, resulting in an error.

If you would like immediate help on this, please email support@sourcegraph.com (you can still create the issue, but there are no SLAs on issues like there are for support requests).
Steps to reproduce:
Expected behavior:
The auth process for Sourcegraph.com (OSS code) and private instances (private code) are separated, and it is clear what Sourcegraph instance you are authenticating.
Actual behavior:
The 'Search your private code' section is misleading since sourcegraph.com doesn't host private code anymore. Since the auth process for Sourcegraph.com and private instances happen under the 'Search your private code' section, users get login errors because it is unclear what instance they are authenticating. If sourcegraph.url is not set in the extension settings.json file, it defaults to sourcegraph.com.
The UI shows a 'Search your private code' section with a 'Create an account button' and a 'Have an account button.'

'Create an account' opens the browser to Sourcegraph.com and changes the UI to this screen. On this screen, it looks like user should be able to log into their private instance but this attempts a login for sourcegraph.com unless sourcegraph.url is set in the extension settings.json

On this screen, the header says 'Search your private code' so users use access tokens for their private instances, and this attempts a login to sourcegraph.com, resulting in an error.

If you would like immediate help on this, please email support@sourcegraph.com (you can still create the issue, but there are no SLAs on issues like there are for support requests).