Access Application Name in Custom DB with the Context Object

Last Updated: Jul 9, 2025

Overview

This article answers whether the application name or ID can be accessed from the context object within a custom database connection.

Applies To

  • Custom Database Connections
  • Context Object

Solution

The application name or ID is not available in the context object of a custom database script. The context object in this environment is designed to only contain organization-related data when a user logs into an organization.

As detailed in the documentation on Custom Database Support for Organizations, the context object will only be populated with an organization’s details.

To request that application information be added to the context object in the future, please provide feedback to the Auth0 product team.