You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
Configure Sourcegraph with only a single OAuth provider (e.g. GitHub)
Navigate to /sign-in as an anonymous user
Observe being immediately redirected to the OAuth provider instead of seeing the Sourcegraph sign-in page
Expected behavior:
Users should be able to access the Sourcegraph sign-in page even if there is only a single OAuth provider configured. This allows users to make access requests if signup is disabled
Actual behavior:
Users are immediately redirected to the OAuth provider, and can't make access requests.
Screen.Recording.2024-04-30.at.1.35.01.PM.mov
Workaround:
Use built-in auth so users can see the login page.
Steps to reproduce:
Configure Sourcegraph with only a single OAuth provider (e.g. GitHub)
Navigate to /sign-in as an anonymous user
Observe being immediately redirected to the OAuth provider instead of seeing the Sourcegraph sign-in page
Expected behavior:
Users should be able to access the Sourcegraph sign-in page even if there is only a single OAuth provider configured. This allows users to make access requests if signup is disabled
Actual behavior:
Users are immediately redirected to the OAuth provider, and can't make access requests.
Screen.Recording.2024-04-30.at.1.35.01.PM.mov
Workaround:
Use built-in auth so users can see the login page.