javascript

Official Javascript repository for Clerk authentication

MIT License

Downloads
6.1M
Stars
1.1K
Committers
167
javascript - @clerk/[email protected]

Published by clerk-cookie 7 months ago

Patch Changes

javascript - @clerk/[email protected]

Published by clerk-cookie 7 months ago

Minor Changes

  • 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()

javascript - @clerk/[email protected]

Published by clerk-cookie 7 months ago

Patch Changes

javascript - @clerk/[email protected]

Published by clerk-cookie 7 months ago

Patch Changes

  • Hide maintenance banner when card has global error by @nikosdouvlis
javascript - @clerk/[email protected]

Published by clerk-cookie 7 months ago

Patch Changes

javascript - @clerk/[email protected]

Published by clerk-cookie 7 months ago

Patch Changes

javascript - @clerk/[email protected]

Published by clerk-cookie 7 months ago

Patch Changes

  • Hide maintenance banner when card has global error by @nikosdouvlis
javascript - @clerk/[email protected]

Published by clerk-cookie 7 months ago

Patch Changes

javascript - @clerk/[email protected]

Published by clerk-cookie 7 months ago

Minor Changes

  • Deprecate supported_identifiers and remove supported_external_accounts. (#3089) by @panteliselef

Patch Changes

  • Add maintenance mode banner to the SignIn and SignUp components. The text can be customized by updating the maintenanceMode localization key. by @nikosdouvlis
javascript - @clerk/[email protected]

Published by clerk-cookie 7 months ago

Patch Changes

javascript - @clerk/[email protected]

Published by clerk-cookie 7 months ago

Patch Changes

javascript - @clerk/[email protected]

Published by clerk-cookie 7 months ago

Patch Changes

javascript - @clerk/[email protected]

Published by clerk-cookie 7 months ago

Patch Changes

javascript - @clerk/[email protected]

Published by clerk-cookie 7 months ago

Patch Changes

javascript - @clerk/[email protected]

Published by clerk-cookie 7 months ago

Patch Changes

  • 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

javascript - [email protected]

Published by clerk-cookie 7 months ago

Patch Changes

javascript - @clerk/[email protected]

Published by clerk-cookie 7 months ago

Patch Changes

javascript - @clerk/[email protected]

Published by clerk-cookie 7 months ago

Patch Changes

  • 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 requests
    • clerkMiddleware: 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-out

    Also all the top level exports from @clerk/backend are re-exported from @clerk/express.

  • Updated dependencies [63dfe8dc9, d22e6164d]:

javascript - @clerk/[email protected]

Published by clerk-cookie 7 months ago

Patch Changes

javascript - @clerk/[email protected]

Published by clerk-cookie 7 months ago

Minor Changes

  • Deprecate supported_identifiers and remove supported_external_accounts. (#3089) by @panteliselef

Patch Changes