# Auth0 Changelog - v202638

## v202638 - added
*September 17, 2026*

### Custom User ID Assignment with Actions — Early Access

You can now assign a custom `user_id` to new database-connection users at signup by calling the `api.user.setUserId()` method in a `pre-user-registration` Action.

Previously, Auth0 automatically generated user IDs in the standard `auth0|<id>` format for new signups. Customers who needed custom or legacy-compatible IDs had to build self-hosted signup pages or rely on bulk import. Now you can define any custom `user_id` format — UUIDs, domain-specific IDs, or IDs derived from your existing systems — directly in an Action, keeping identity consistent across imported and newly-created users.

```javascript
exports.onExecutePreUserRegistration = async (event, api) => {
  const crypto = require('crypto');
  api.user.setUserId(crypto.randomUUID());
};
```

Custom user IDs are supported for Database connections (including custom databases with automatic migration), Universal Login sign-up, the Authentication API signup endpoint, and the Management API Create User endpoint. They are not supported for passwordless, social, or enterprise connections, or for bulk import. The custom ID must be unique within the connection and meet the same validation rules as the Management API `user_id` parameter.

[Read the docs →](https://auth0.com/docs/authenticate/database-connections/custom-user-id)

> **Early Access:** This feature is in Early Access and is subject to change. By using this feature, you agree to the applicable Free Trial terms in Okta's [Master Subscription Agreement](https://www.okta.com/agreements/).

### Enterprise Connection Events — Early Access

You can now stream real-time notifications when an enterprise connection changes — without polling the Management API.

__What's new__ 

Previously, detecting changes to an enterprise connection (a new SSO connection added, an existing one updated, or one removed) required polling the Management API on a schedule. With connection events, Auth0 notifies you the moment a change happens.

__What you can do in EA__

- Subscribe to connection.created, connection.updated, and connection.deleted events for your enterprise connections — Azure AD, ADFS, Google Workspace, Active Directory, LDAP, and Ping
- Deliver events to a webhook or Amazon EventBridge
- Consume events as CloudEvents-formatted JSON, so they work with your existing event tooling

__What stays the same__

Enterprise connection management via the Dashboard and Management API is unchanged. Connection events are additive — you don't need to change how you create or manage connections to start using them.

To learn more, review the Connection Events [documentation](https://auth0.com/docs/events).

By using Connection Events, you agree to the applicable Free Trial terms in Okta's Master Subscription Agreement and Okta's Privacy Policy during use of the Early Access feature. The Free Trial terms can be found within the Master Subscription Agreement at [https://www.okta.com/agreements](https://www.okta.com/agreements).

### B2B Connect - Enterprise in Early Access!

You can now connect your existing authorization server to Auth0 for enterprise SSO, SCIM provisioning, and multi-tenant org management — without migrating your users.

__What's new__

B2B Connect Beta let you layer Auth0 enterprise identity on top of your own authorization server. Early Access adds real-time visibility into enterprise directory changes, automatic session termination when an enterprise IdP ends a session, faster and more reliable discovery of which identity provider an end user's organization uses, and support for applications that don't have an external authorization server at all.

__What you can do in EA__

- Stream connection events (created, updated, deleted) from your enterprise connections to a webhook, Amazon EventBridge, or your own event pipeline
- Automatically terminate an active session in your application when the enterprise identity provider ends the corresponding session, keeping your app's session state in sync with the IdP
- Resolve which enterprise connection an end user belongs to based on their email domain, so users land directly on their organization's SSO without extra prompts or manual configuration
- Don't have your own authorization server? Connect an application directly to Auth0 — no external authorization server required — and get started faster with new quickstart guides

__What stays the same__

Your authorization server remains the source of truth for sessions and tokens. B2B Connect continues to return an enriched ID token that your server uses to mint its own — nothing changes about how you issue or manage tokens for your users.

To learn more, review the B2B Connect [documentation](https://auth0.com/docs/get-started/b2b-connect-enterprise).

By using B2B Connect, you agree to the applicable Free Trial terms in Okta's Master Subscription Agreement and Okta's Privacy Policy during use of the Early Access feature. The Free Trial terms can be found within the Master Subscription Agreement at [https://www.okta.com/agreements](https://www.okta.com/agreements).

---
