#364

Support GitHub OAuth app token and grant revocation

Openjychpwants to merge intofrom
  • Add DELETE /applications/:client_id/token and DELETE /applications/:client_id/grant, authenticated with the app's client credentials, revoking one token or the user's grant and all its tokens, with 422 for a token that is unknown or belongs to another app and 401 for wrong client credentials.
  • Return 401 Bad credentials for a revoked token in every mode, instead of falling back to the default user, and share the grant revocation with the settings page, with regression coverage and docs.

References:

Fixes #363

Activity

6
vercel[bot]2d ago

@jychp is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot]reviewed2d ago
vercel[bot]reviewed2d ago