---
title: Passing Device and Behavioral IDs at Sign-Up
slug: public-apis/passing-device-and-behavioral-ids-at-sign-up
createdAt: 2026-11-02T15:08:19.767Z
---

::::ExpandableHeading
###

**Topic type: Task**

:::hint{type="warning"}
**Purpose**: Passes the Accertify collector's device and behavioral IDs to Auth0 in the sign-up request.

**Audience**: Front-end engineers who maintain the sign-up page.

**Applies to**: Sign-ups on Database and Passwordless connections where your own page sends the sign-up request.

**Does not apply to**: Auth0's hosted sign-up page, which can't add `user_metadata`. Login redirects, which use `ext-` parameters.
:::
::::

`ext-` parameters don't reach the sign-up trigger, so sign-ups use a different route: include the collector's IDs in the sign-up request's `user_metadata`. Send ID references only, with no payload data. For the conditions that apply, see [Sign-Up Screening Coverage for Auth0](docId:1qVbpSvIf1O-5b9WtSW77).

**To pass:**

::::WorkflowBlock
:::WorkflowBlockItem
Call `window._bcn.snapshot()` and wait for the bundle it returns.
:::

:::WorkflowBlockItem
Include `deviceTransactionID` and `ubaID` from the bundle in the `user_metadata` of the sign-up request. The following example uses `auth0.js`:

```javascript
async function signUp(email, password) {
  const bundle = await window._bcn.snapshot();
  webAuth.signup({
    connection: 'Username-Password-Authentication',
    email,
    password,
    user_metadata: {
      deviceTransactionID: bundle.deviceTransactionID,
      ubaID: bundle.ubaID,
    }
  }, function (err) {
    // handle the result
  });
}
```
:::
::::

**Expected result:** Your sign-up request includes `deviceTransactionID` and `ubaID` in `user_metadata`.

## Next Steps

Continue with the Pre User Registration Action:

- **Add the Action to the sign-up flow:** [Adding the Account Protection Action to the Sign-Up Flow](docId\:sWT_Gsqd57rKRvvASdftt)



***

**See also**:

::::LinkArray{contentSource="CUSTOM"}
:::LinkArrayItem
[Sign-Up Screening Coverage for Auth0](docId:1qVbpSvIf1O-5b9WtSW77)
:::

:::LinkArrayItem
[Limits for ext- Parameters in the Auth0 Login Redirect](docId\:wPjzSjrRQySPva4cK8SsV)
:::
::::

