github clerk/javascript @clerk/backend@2.2.0

latest releases: @clerk/types@4.92.0, @clerk/clerk-js@5.99.0, @clerk/fastify@2.4.37...
4 months ago

Minor Changes

  • Add support for expiresInSeconds parameter in session token generation. This allows setting custom expiration times for tokens both with and without templates via the backend API. (#6150) by @jacekradko

    • Optimize auth() calls to avoid unnecessary verification calls when the provided token type is not in the acceptsToken array. (#6123) by @wobsoriano

    • Add handling for invalid token types when acceptsToken is an array in authenticateRequest(): now returns a clear unauthenticated state (tokenType: null) if the token is not in the accepted list.

  • Introduce API keys Backend SDK methods (#6169) by @wobsoriano

Patch Changes

Don't miss a new javascript release

NewReleases is sending notifications on new releases.