Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

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

@gabtorre

Description

@gabtorre
  • 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.

Metadata

Metadata

Assignees

Labels

bugAn error, flaw or fault that produces an incorrect or unexpected result, or behavior.customerImportant issues reported or desired by a customer.team/sourceTickets under the purview of Source - the one Source to graph it all

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions