@clerk/clerk-js
6.44.0 · 17 Nov 2026MIT1.5M / weekRepositoryHomepagenpmAtom feed
Your version
4.73.14 is the newest release of 4.x.
In short
1 new2 internal
Security
1 advisory affects 4.73.0; 5.89.0 fixes them
- ModerateClerk-js vulnerable to bypass of OAuth authentication flow by manipulating request at OTP verification stageGHSA-3mm3-wfpv-q85g · 20 Nov 2025Fixed in 5.89.0
Release note
Minor Changes
Use the Google One Tap component from with Vanilla JS
Clerk.openGoogleOneTap({ cancelOnTapOutside: false, fedCmSupport: false, itpSupport: false })Clerk.closeGoogleOneTap()
Low level APIs for custom flows
- `await Clerk.authenticateWithGoogleOneTap({ token: 'xxxx'})`
- `await Clerk.handleGoogleOneTapCallback()`
We recommend using this two methods together in order and let Clerk perform the correct redirections.
```tsx
google.accounts.id.initialize({
callback: async response => {
const signInOrUp = await Clerk.authenticateWithGoogleOneTap({ token: response.credential });
await Clerk.handleGoogleOneTapCallback(signInOrUp, {
afterSignInUrl: window.location.href,
});
},
});
```
In case you want to handle the redirection and session management yourself you can do so like this
```tsx
google.accounts.id.initialize({
callback: async response => {
const signInOrUp = await Clerk.authenticateWithGoogleOneTap({ token: response.credential });
if (signInOrUp.status === 'complete') {
await Clerk.setActive({
session: signInOrUp.createdSessionId,
});
}
},
});
```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.