coder / coder/backstage-plugins

Coder plugin: Fallback authentication button still appears after user has already authenticated

Đang mở
#146 0 bình luận 0 reaction 1 người được giao Được @buenos-nachos nhận Xem trên GitHub
bug
Ngôn ngữ chính
TypeScript
Star
67
Fork
9
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Issue comes from a customer – moving an anonymized version here for more visibility.

## Problem
When the Coder plugin is integrated into a Backstage deployment, authentication doesn't always work as expected. The authentication elements don't appear/disappear consistently, and interacting with an element that does not exist sometimes causes the deployment to blow up.

## Steps to reproduce
1. Add the `CoderProvider` and `CoderWorkspacesCard` components to a deployment
2. Navigate to whichever page has the card and authenticate via its built-in UI
3. Navigate to a different page.
4. See that the fallback "Authenticate with Coder" button is present at the bottom of the screen, even though the user should already be authenticated
5. Click the button – the application blows up

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.