Skip to content

Dashboard Git Services tab duplicates status icon if 2 GitHubs configured #22971

Closed
@vinokurig

Description

Describe the bug

If two GitHub aouth configuration secrets are set up, and if authorization agreement is accepted for only one GitHub provider, the authorization status icon is duplicated for both GitHub oauth provider items in the dashboard Git Services tab.

Che version

7.86@latest

Steps to reproduce

  1. Configure 2 GitHub oauth secrets.
  2. Start a workspace from any configured GitHub repository with a devfile, accept the authorization agreement.
  3. Go to Dashboard -> User Preferences -> Git Services, see:

The authorization status is duplicated for both items:
screenshot-eclipse-che apps rosa frmk4-wcwdq-vmd zp2m p3 openshiftapps com-2024 05 20-13_29_18

Expected behavior

The authorization status must be applied per git provider item separately.

Runtime

OpenShift

Screenshots

No response

Installation method

chectl/next

Environment

macOS

Eclipse Che Logs

No response

Additional context

The revoke action is applied for the correct provider item and is hidden for the other provider which is expected.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

area/dashboardarea/git/oauth-servicesOAuth support to authenticate developers with their GitHub, GitLab, Bitbucket etc...accountskind/bugOutline of a bug - must adhere to the bug report template.severity/P1Has a major impact to usage or development of the system.team/AThis team is responsible for the Che Operator and all its operands as well as chectl and Hosted Che

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions