Skip to content

Authorized user state is not updated when re-authorizing with an invalid token#20

Description

@cloudhx

馃悰 Bug Report

When an authorized user re-authorizes with an invalid token, the issue list is still shown and user is able to refresh the issue list with the invalid token.

To Reproduce

Steps to reproduce the behavior:

  1. Open the app
  2. Navigate to Token page
  3. Provide a valid personal access token and click Authorize button
  4. Go to Issues page and inspect the issue list
  5. Go to Token page, provide an invalid personal access token and click Authorize button
  6. Go back to Issues page, the issue list is showing the same items as before
  7. If clicking Refresh button, error message invalid personal access token is popped up

Expected behavior

The Sign-In component should be shown instead of Issue list.

Activity

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions