@clerk/backend
3.29.0 · 14 Nov 2026MIT8.4M / weekRepositoryHomepagenpmAtom feed
Upgrading @clerk/backend From 3.29.0 to 3.30.0
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 1
- new
- 0
- fixes
Release by release
- New
Add an experimental
clerkClient.oauthApplications.__experimental_exchangeToken()method for performing an OAuth 2.0 Token Exchange (RFC 8693) on behalf of an OAuth application. Pass your publishable key, the application's client ID and client secret, a user's OAuth access token, and the targetresourceto receive a new access token for that resource, for example to call a downstream API on a user's behalf. The request goes to your instance's token endpoint, derived from the publishable key (or fromproxyUrlwhen set), so it does not require a secret key. AproxyUrlmust be an absolute HTTPS URL without a query or fragment, including for loopback hosts. Token exchange requests do not follow redirects, so credentials and tokens are never forwarded to another endpoint; a redirect response throws anOAuthTokenExchangeErrorwith codeinvalid_response.
- New
1 internal line (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.