Skip to content

Revoke Token doesn't seem to work #10391

Closed

Description

@CobaltDragonGit

Please verify that this bug has NOT been raised before.

  • I checked and didn't find a similar issue

Describe the bug*

When revoke an access token the deleted row is still present, but the contextual button "..." disappears. It seems to be a front end issue because the session accessed on the phone doesn't respond and needs to login again to request a new token.

Image Image

Steps to Reproduce

  1. Use a smartphone with Inventree downloaded (there might be other methods)
  2. Login to the Inventree Server with an account
  3. Log in as admin on the website, and go to "Users / Access" to see that a token is created
  4. Revoke token with "..." button
  5. The revoked row is still there
  6. (Expected behavior) Navigate into the app on the smartphone, nothing should "work" because you don't have access anymore

Expected behaviour

The revoked row should disappear.

Deployment Method

Docker

Version Information

Version 1.0.1

Try to reproduce on the demo site

I tried to reproduce

Is the bug reproducible on the demo site?

Reproducible

Relevant log output


Activity

  1. added
    bug
    question
    triage:not-checked
    on Sep 24, 2025
  2. removed
    bug
    triage:not-checked
    on Sep 24, 2025
  3. matmair commented on Sep 24, 2025

    @matmair
    Member

    Not a bug, the tokens are revoked and do not work anymore. They are not deleted, that is intentional to be able to associate which user is using a disabled token (might be because of age -expiry - or active disabling).

    Pasting a screenshot that is a bit bigger you might notice the column "Revoked":
    Image

  4. added
    wontfix
    User Interface
    on Sep 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    User Interfacequestionwontfix

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions