Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Users cannot make access requests when there is only one auth provider configured #62313

Closed
gabtorre opened this issue Apr 30, 2024 · 1 comment · Fixed by #62376
Closed
Assignees
Labels
bug An error, flaw or fault that produces an incorrect or unexpected result, or behavior. customer Important issues reported or desired by a customer. team/source Tickets under the purview of Source - the one Source to graph it all

Comments

@gabtorre
Copy link
Contributor

  • Sourcegraph version: 5.3.11625
  • Platform information:

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

Screenshot 2024-04-30 at 1 37 25 PM

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.

@gabtorre gabtorre added bug An error, flaw or fault that produces an incorrect or unexpected result, or behavior. customer Important issues reported or desired by a customer. team/source Tickets under the purview of Source - the one Source to graph it all labels Apr 30, 2024
@gabtorre
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An error, flaw or fault that produces an incorrect or unexpected result, or behavior. customer Important issues reported or desired by a customer. team/source Tickets under the purview of Source - the one Source to graph it all
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants