UI bug when deleting fine-grained access tokens #214198
Replies: 2 comments 1 reply
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
|
Thanks for the detailed repro. Until this is fixed, a reliable way to confirm the deletion really took effect is to check that the token no longer appears after a refresh (as you did) and, if you want extra certainty, confirm the old token value is rejected when used in a test request. I'd avoid trying to delete the same token again in the same session, since the misleading error can make it look like a retry is needed when the token is already gone. It may also be worth noting in the report whether this happens for classic tokens too, or only fine-grained ones, as that helps narrow down whether it's specific to this settings page. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Bug
Body
I found a reproducible UI issue on GitHub.com when deleting fine-grained personal access tokens in Settings > Developer settings > Personal access tokens > Fine-grained tokens.
When deleting a fine-grained personal access token, GitHub shows the error: Your token was unable to be deleted. However, the token is actually deleted successfully and removed from the list. Refreshing the page confirms that the token no longer appears.
Observed behavior:
Reproducibility:
Reproduced with three deleted fine-grained personal access tokens
Context:
The token was created for the open source locale-ar-EG repository managed by the devographics organization
Expected behavior:
If deletion succeeds, the UI shows a success state
Actual behavior:
Deletion succeeds, but the UI reports failure
Steps to reproduce the bug:
All reactions