How to revoke a gho_* token? #137606
Replies: 4 comments 2 replies
-
Navigate to Settings > Applications > Authorized OAuth Apps and from there see a list of authorized tokens and a Revoke option next to it. |
Beta Was this translation helpful? Give feedback.
-
You can easily delete a github_token. At the left hand upper corner you will see a |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
To revoke only a specific OAuth token without revoking access to the entire app, you have a few options depending on the platform's specific API or settings. Here’s a general approach that may work for many OAuth implementations:
If the platform does not provide any of these mechanisms, unfortunately, you may need to revoke the entire app’s authorization to ensure that the leaked token cannot be used maliciously. However, if you can share the specific platform (e.g., GitHub, Google, etc.) if your issue was fixed make this as an answer if it is not we can explore more ways |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
I accidentally leaked a token issued for one of my Authorized OAuth Apps. Is there any way (via WebUI or API) to revoke only the specific token, without revoking the whole OAuth App?
The Token expiration and revocation documentation talks about a few options, but none fit here:
Beta Was this translation helpful? Give feedback.
All reactions