Skip to content

feat(backend): add OAuth application token revocation - #574

Open
jfoshee wants to merge 1 commit into
v2from
jfoshee/user-5645-sdk-revoke-oauth2-tokens
Open

feat(backend): add OAuth application token revocation#574
jfoshee wants to merge 1 commit into
v2from
jfoshee/user-5645-sdk-revoke-oauth2-tokens

Conversation

@jfoshee

@jfoshee jfoshee commented Jun 30, 2026

Copy link
Copy Markdown

Summary

Adds SDK support for the new OAuth application token revocation endpoint and documents the backend SDK method.

Validation run:

  • go test ./oauthapplication
  • pnpm --filter @clerk/backend test:node src/api/tests/OAuthApplicationsApi.test.ts
  • pnpm --filter @clerk/backend test:edge-runtime src/api/tests/OAuthApplicationsApi.test.ts
  • pnpm --filter @clerk/backend lint
  • pnpm run build:tsx in clerk-docs
  • pnpm run lint in clerk-docs

Changes in this repo

Adds oauthapplication.RevokeToken and Client.RevokeToken with RevokeTokenParams, plus a focused client test for the revoke_token endpoint.

Companion PRs

@jfoshee
jfoshee requested a review from a team as a code owner June 30, 2026 00:24
@jfoshee
jfoshee changed the base branch from v2 to v3 June 30, 2026 22:50
@jfoshee
jfoshee changed the base branch from v3 to v2 June 30, 2026 22:51
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