Skip to content

Conversation

@stack72
Copy link
Contributor

@stack72 stack72 commented Nov 30, 2025

Due to a recent change to allow a workspace token to create and manage the workspace lifecycle, we need to revoke the tokens for a workspace when the workspace has been deleted

This means the usage of that token cannot be made at all! We don’t want tokens to be in circulation that allow a user to create or update workspaces if they are not actually able to be revoked or expired

This work also includes a migration to allow us to revoke existing tokens that would have fallen through the cracks here

Also introduces a reason into the revokeToken posthog event so that we can tell a user the token has been revoked based on X action

Screenshot 2025-11-30 at 22 00 29

Due to a recent change to allow a workspace token to create and manage the workspace lifecycle, we need to revoke the tokens for a workspace when the workspace has been deleted

This means the usage of that token cannot be made at all! We don’t want tokens to be in circulation that allow a user to create or update workspaces if they are not actually able to be revoked or expired

This work also includes a migration to allow us to revoke existing tokens that would have fallen through the cracks here
@github-actions
Copy link

Dependency Review

✅ No vulnerabilities or OpenSSF Scorecard issues found.

Scanned Files

None

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants