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

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

Open
Parkreiner opened this issue Jan 6, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Parkreiner
Copy link
Collaborator

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
@Parkreiner Parkreiner added the bug Something isn't working label Jan 6, 2025
@Parkreiner Parkreiner self-assigned this Jan 6, 2025
@Parkreiner Parkreiner changed the title Issue: Fallback authentication button still appears after Fallback authentication button still appears after user has already authenticated Jan 6, 2025
@Parkreiner Parkreiner changed the title Fallback authentication button still appears after user has already authenticated Coder plugin: Fallback authentication button still appears after user has already authenticated Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant