@auth0/auth0-server-js 1.12.0 → 1.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -262,7 +262,7 @@ function getTelemetryConfig(config) {
262
262
  return {
263
263
  enabled: true,
264
264
  name: config?.name ?? "@auth0/auth0-server-js",
265
- version: config?.version ?? "1.12.0"
265
+ version: config?.version ?? "1.12.1"
266
266
  };
267
267
  }
268
268
 
@@ -368,6 +368,12 @@ var ServerPasskeyClient = class {
368
368
  *
369
369
  * This method does not create a session; no state is persisted.
370
370
  *
371
+ * On a confidential client this endpoint accepts `client_secret` as its only
372
+ * credential, so configure `clientSecret` on the `ServerClient`. It does not
373
+ * accept a private key JWT and is not served on the mTLS endpoint aliases, so a
374
+ * client configured with only `clientAssertionSigningKey` or only `useMtls` is
375
+ * rejected by Auth0. Public clients authenticate with `clientId` alone.
376
+ *
371
377
  * @param options User profile data and optional realm/organization.
372
378
  * @param storeOptions Optional options used to resolve the domain (resolver mode).
373
379
  *
@@ -390,6 +396,9 @@ var ServerPasskeyClient = class {
390
396
  *
391
397
  * This method does not create a session; no state is persisted.
392
398
  *
399
+ * Client authentication works the same way as {@link ServerPasskeyClient.register}:
400
+ * on a confidential client, only a `clientSecret` is accepted here.
401
+ *
393
402
  * @param options Optional realm/organization configuration.
394
403
  * @param storeOptions Optional options used to resolve the domain (resolver mode).
395
404
  *