Official Javascript repository for Clerk authentication
MIT License
Published by clerk-cookie 7 months ago
94519aa33
]:
Published by clerk-cookie 7 months ago
Move passkey related apis to stable: (#3134) by @panteliselef
Register passkey for a user
Usage: await clerk.user.createPasskey()
Authenticate with passkey
Usage: await clerk.client.signIn.authenticateWithPasskey()
try {
await clerk.client.signIn.authenticateWithPasskey(...args);
}catch (e) {
if (isClerkRuntimeError(e)) {
if (err.code === 'passkey_operation_aborted') {
...
}
}
}
ClerkRuntimeError codes introduced:
passkey_not_supported
passkeys_pa_not_supported
passkey_invalid_rpID_or_domain
passkey_already_exists
passkey_operation_aborted
passkey_retrieval_cancelled
passkey_retrieval_failed
passkey_registration_cancelled
passkey_registration_failed
Get the user's passkeys
clerk.user.passkeys
Update the name of a passkey
clerk.user.passkeys?.[0].update({name:'Company issued passkey'})
Delete a passkey
clerk.user.passkeys?.[0].delete()
Published by clerk-cookie 7 months ago
e514486f6
]:
Published by clerk-cookie 7 months ago
Published by clerk-cookie 7 months ago
e514486f6
]:
Published by clerk-cookie 7 months ago
6d89f2687
]:
Published by clerk-cookie 7 months ago
Published by clerk-cookie 7 months ago
6d89f2687
]:
Published by clerk-cookie 7 months ago
supported_identifiers
and remove supported_external_accounts
. (#3089) by @panteliselef
Published by clerk-cookie 7 months ago
9180c8b80
, c6a5e0f5d
]:
Published by clerk-cookie 7 months ago
63dfe8dc9
, d22e6164d
]:
Published by clerk-cookie 7 months ago
Resolve Vercel edge-runtime "TypeError: Failed to parse URL" when @clerk/remix
is used (#3129) by @nikosdouvlis
Updated dependencies [63dfe8dc9
, d22e6164d
]:
Published by clerk-cookie 7 months ago
9180c8b80
, c6a5e0f5d
]:
Published by clerk-cookie 7 months ago
63dfe8dc9
, d22e6164d
]:
Published by clerk-cookie 7 months ago
Improve ptBR localizations (#3083) by @GustavoOS
Add maintenance mode banner to the SignIn and SignUp components. The text can be customized by updating the maintenanceMode localization key. by @nikosdouvlis
Fix typos from pt-BR localization (#3106) by @LauraBeatris
Added Thai translation keys for pwned password, form identifier, passkey (#3128) by @ttwrpz
Change Thai translation keys for Authenticator related to match the context
Published by clerk-cookie 7 months ago
63dfe8dc9
, d22e6164d
]:
Published by clerk-cookie 7 months ago
9180c8b80
, 63dfe8dc9
, c6a5e0f5d
, d22e6164d
]:
Published by clerk-cookie 7 months ago
Introduce Express specific Clerk SDK called @clerk/express
. The SDK exposes the following APIs: (#2918) by @dimkl
clerkClient
: Default @clerk/backend
client initialized from environment variables and used to make backend API requestsclerkMiddleware
: Centralized middleware that authenticates all requests without blocking them (also triggers handshake mechanism)getAuth
: Utility to retrieve the auth state from a request (requires clerkMiddleware
to be executed)requireAuth
: Middleware that returns HTTP 401 response when request is signed-outAlso all the top level exports from @clerk/backend
are re-exported from @clerk/express
.
Updated dependencies [63dfe8dc9
, d22e6164d
]:
Published by clerk-cookie 7 months ago
d422dae67
, 9180c8b80
, 6d3b422c8
, 976c6a07e
, c6a5e0f5d
, 4705d63a8
]:
Published by clerk-cookie 7 months ago
supported_identifiers
and remove supported_external_accounts
. (#3089) by @panteliselef
Fixes memebership count in <OrganizationProfile/>
Members page for members with org:sys_memberships:read
permission (#3093) by @octoper
Avoid depending on count
as it can be zero but invitations may still exist. (#3092) by @panteliselef
Fixes an icon misalignment in account switcher. (#3108) by @octoper
Add maintenance mode banner to the SignIn and SignUp components. The text can be customized by updating the maintenanceMode localization key. by @nikosdouvlis
Ensures we don't attempt to access window.addEventListener()
in non-browser environments. (#3097) by @BRKalow
Updated dependencies [88d5d2ca0
, 9180c8b80
, c6a5e0f5d
, e6f8928f1
, f3b6f32b3
]: