Skip to content

Tokens not deleted with tunnel #660

Description

@ingvarr-zaag

As there is no way to delete/revoke access token it is suggested that deleting a tunnel deleted a token.
It is not true.

Reproduction:

  • Create tunnel
    devtunnel create mytunnel
  • Create a port
    devtunnel port create -p 5000
  • Create a token
    devtunnel token --scope connect
  • Host tunnel
    devtunnel host

curl with proper header works.

  • Delete tunnels
    devtunnel delete-all

  • Confirm no tunnels
    devtunnel list - empty list

  • Recreate a tunnel
    devtunnel create mytunnel

  • Create a port
    devtunnel port create -p 5000

  • DO NOT create a token

  • Host tunnel
    devtunnel host

The same curl request works.
If I create a new token for this tunnel, the same curl request as above, with the old token still works

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions