Skip to content

Make Hackatime Tokens Revocable#1027

Open
matmanna wants to merge 7 commits intohackclub:mainfrom
quackclub:revokable_api_tokens
Open

Make Hackatime Tokens Revocable#1027
matmanna wants to merge 7 commits intohackclub:mainfrom
quackclub:revokable_api_tokens

Conversation

@matmanna
Copy link
Member

@matmanna matmanna commented Mar 2, 2026

This PR will be landed prior to but alongside a corresponding one for the revoker.

This PR adds:

  • additionally functionality to the /api/internal/revoke endpoint to distinguish between admin and normal user keys in order to roll exposed user tokens
  • properly documents HKA_REVOCATION_KEY in .env.example

@matmanna matmanna marked this pull request as ready for review March 2, 2026 21:06
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@matmanna matmanna force-pushed the revokable_api_tokens branch from 075f9c9 to 8805cea Compare March 3, 2026 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant