Viewing docs for Auth0 v2.24.3 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Viewing docs for Auth0 v2.24.3 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Use this data source to access information about the tenant this provider is configured to access.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Auth0 = Pulumi.Auth0;
return await Deployment.RunAsync(() =>
{
var myTenant = Auth0.GetTenant.Invoke();
});
package main
import (
"github.com/pulumi/pulumi-auth0/sdk/v2/go/auth0"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := auth0.LookupTenant(ctx, nil, nil)
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.auth0.Auth0Functions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var myTenant = Auth0Functions.getTenant();
}
}
import * as pulumi from "@pulumi/pulumi";
import * as auth0 from "@pulumi/auth0";
const myTenant = auth0.getTenant({});
import pulumi
import pulumi_auth0 as auth0
my_tenant = auth0.get_tenant()
variables:
myTenant:
fn::invoke:
Function: auth0:getTenant
Arguments: {}
Using getTenant
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTenant(opts?: InvokeOptions): Promise<GetTenantResult>
function getTenantOutput(opts?: InvokeOptions): Output<GetTenantResult>def get_tenant(opts: Optional[InvokeOptions] = None) -> GetTenantResult
def get_tenant_output(opts: Optional[InvokeOptions] = None) -> Output[GetTenantResult]func LookupTenant(ctx *Context, opts ...InvokeOption) (*LookupTenantResult, error)
func LookupTenantOutput(ctx *Context, opts ...InvokeOption) LookupTenantResultOutput> Note: This function is named LookupTenant in the Go SDK.
public static class GetTenant
{
public static Task<GetTenantResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetTenantResult> Invoke(InvokeOptions? opts = null)
}public static CompletableFuture<GetTenantResult> getTenant(InvokeOptions options)
public static Output<GetTenantResult> getTenant(InvokeOptions options)
fn::invoke:
function: auth0:index/getTenant:getTenant
arguments:
# arguments dictionarygetTenant Result
The following output properties are available:
- Allowed
Logout List<string>Urls - URLs that Auth0 may redirect to after logout.
- Change
Passwords List<GetTenant Change Password> - Default
Audience string - API Audience to use by default for API Authorization flows. This setting is equivalent to appending the audience to every authorization request made to the tenant for every application.
- Default
Directory string - Name of the connection to be used for Password Grant exchanges. Options include
auth0-adldap,ad,auth0,email,sms,waad, andadfs. - Default
Redirection stringUri - The default absolute redirection URI. Must be HTTPS or an empty string.
- Domain string
- Your Auth0 domain name.
- Enabled
Locales List<string> - Supported locales for the user interface. The first locale in the list will be used to set the default locale.
- Error
Pages List<GetTenant Error Page> - Flags
List<Get
Tenant Flag> - Configuration settings for tenant flags.
- Friendly
Name string - Friendly name for the tenant.
- Guardian
Mfa List<GetPages Tenant Guardian Mfa Page> - Id string
- The provider-assigned unique ID for this managed resource.
- Idle
Session doubleLifetime - Number of hours during which a session can be inactive before the user must log in again.
- Management
Api stringIdentifier - The identifier value of the built-in Management API resource server, which can be used as an audience when configuring client grants.
- Picture
Url string - URL of logo to be shown for the tenant. Recommended size is 150px x 150px. If no URL is provided, the Auth0 logo will be used.
- Sandbox
Version string - Selected sandbox version for the extensibility environment, which allows you to use custom scripts to extend parts of Auth0's functionality.
-
List<Get
Tenant Session Cooky> - Alters behavior of tenant's session cookie. Contains a single
modeproperty. - Session
Lifetime double - Number of hours during which a session will stay valid.
- Support
Email string - Support email address for authenticating users.
- Support
Url string - Support URL for authenticating users.
- Universal
Logins List<GetTenant Universal Login>
- Allowed
Logout []stringUrls - URLs that Auth0 may redirect to after logout.
- Change
Passwords []GetTenant Change Password - Default
Audience string - API Audience to use by default for API Authorization flows. This setting is equivalent to appending the audience to every authorization request made to the tenant for every application.
- Default
Directory string - Name of the connection to be used for Password Grant exchanges. Options include
auth0-adldap,ad,auth0,email,sms,waad, andadfs. - Default
Redirection stringUri - The default absolute redirection URI. Must be HTTPS or an empty string.
- Domain string
- Your Auth0 domain name.
- Enabled
Locales []string - Supported locales for the user interface. The first locale in the list will be used to set the default locale.
- Error
Pages []GetTenant Error Page - Flags
[]Get
Tenant Flag - Configuration settings for tenant flags.
- Friendly
Name string - Friendly name for the tenant.
- Guardian
Mfa []GetPages Tenant Guardian Mfa Page - Id string
- The provider-assigned unique ID for this managed resource.
- Idle
Session float64Lifetime - Number of hours during which a session can be inactive before the user must log in again.
- Management
Api stringIdentifier - The identifier value of the built-in Management API resource server, which can be used as an audience when configuring client grants.
- Picture
Url string - URL of logo to be shown for the tenant. Recommended size is 150px x 150px. If no URL is provided, the Auth0 logo will be used.
- Sandbox
Version string - Selected sandbox version for the extensibility environment, which allows you to use custom scripts to extend parts of Auth0's functionality.
-
[]Get
Tenant Session Cooky - Alters behavior of tenant's session cookie. Contains a single
modeproperty. - Session
Lifetime float64 - Number of hours during which a session will stay valid.
- Support
Email string - Support email address for authenticating users.
- Support
Url string - Support URL for authenticating users.
- Universal
Logins []GetTenant Universal Login
- allowed
Logout List<String>Urls - URLs that Auth0 may redirect to after logout.
- change
Passwords List<GetTenant Change Password> - default
Audience String - API Audience to use by default for API Authorization flows. This setting is equivalent to appending the audience to every authorization request made to the tenant for every application.
- default
Directory String - Name of the connection to be used for Password Grant exchanges. Options include
auth0-adldap,ad,auth0,email,sms,waad, andadfs. - default
Redirection StringUri - The default absolute redirection URI. Must be HTTPS or an empty string.
- domain String
- Your Auth0 domain name.
- enabled
Locales List<String> - Supported locales for the user interface. The first locale in the list will be used to set the default locale.
- error
Pages List<GetTenant Error Page> - flags
List<Get
Tenant Flag> - Configuration settings for tenant flags.
- friendly
Name String - Friendly name for the tenant.
- guardian
Mfa List<GetPages Tenant Guardian Mfa Page> - id String
- The provider-assigned unique ID for this managed resource.
- idle
Session DoubleLifetime - Number of hours during which a session can be inactive before the user must log in again.
- management
Api StringIdentifier - The identifier value of the built-in Management API resource server, which can be used as an audience when configuring client grants.
- picture
Url String - URL of logo to be shown for the tenant. Recommended size is 150px x 150px. If no URL is provided, the Auth0 logo will be used.
- sandbox
Version String - Selected sandbox version for the extensibility environment, which allows you to use custom scripts to extend parts of Auth0's functionality.
-
List<Get
Tenant Session Cooky> - Alters behavior of tenant's session cookie. Contains a single
modeproperty. - session
Lifetime Double - Number of hours during which a session will stay valid.
- support
Email String - Support email address for authenticating users.
- support
Url String - Support URL for authenticating users.
- universal
Logins List<GetTenant Universal Login>
- allowed
Logout string[]Urls - URLs that Auth0 may redirect to after logout.
- change
Passwords GetTenant Change Password[] - default
Audience string - API Audience to use by default for API Authorization flows. This setting is equivalent to appending the audience to every authorization request made to the tenant for every application.
- default
Directory string - Name of the connection to be used for Password Grant exchanges. Options include
auth0-adldap,ad,auth0,email,sms,waad, andadfs. - default
Redirection stringUri - The default absolute redirection URI. Must be HTTPS or an empty string.
- domain string
- Your Auth0 domain name.
- enabled
Locales string[] - Supported locales for the user interface. The first locale in the list will be used to set the default locale.
- error
Pages GetTenant Error Page[] - flags
Get
Tenant Flag[] - Configuration settings for tenant flags.
- friendly
Name string - Friendly name for the tenant.
- guardian
Mfa GetPages Tenant Guardian Mfa Page[] - id string
- The provider-assigned unique ID for this managed resource.
- idle
Session numberLifetime - Number of hours during which a session can be inactive before the user must log in again.
- management
Api stringIdentifier - The identifier value of the built-in Management API resource server, which can be used as an audience when configuring client grants.
- picture
Url string - URL of logo to be shown for the tenant. Recommended size is 150px x 150px. If no URL is provided, the Auth0 logo will be used.
- sandbox
Version string - Selected sandbox version for the extensibility environment, which allows you to use custom scripts to extend parts of Auth0's functionality.
-
Get
Tenant Session Cooky[] - Alters behavior of tenant's session cookie. Contains a single
modeproperty. - session
Lifetime number - Number of hours during which a session will stay valid.
- support
Email string - Support email address for authenticating users.
- support
Url string - Support URL for authenticating users.
- universal
Logins GetTenant Universal Login[]
- allowed_
logout_ Sequence[str]urls - URLs that Auth0 may redirect to after logout.
- change_
passwords Sequence[GetTenant Change Password] - default_
audience str - API Audience to use by default for API Authorization flows. This setting is equivalent to appending the audience to every authorization request made to the tenant for every application.
- default_
directory str - Name of the connection to be used for Password Grant exchanges. Options include
auth0-adldap,ad,auth0,email,sms,waad, andadfs. - default_
redirection_ struri - The default absolute redirection URI. Must be HTTPS or an empty string.
- domain str
- Your Auth0 domain name.
- enabled_
locales Sequence[str] - Supported locales for the user interface. The first locale in the list will be used to set the default locale.
- error_
pages Sequence[GetTenant Error Page] - flags
Sequence[Get
Tenant Flag] - Configuration settings for tenant flags.
- friendly_
name str - Friendly name for the tenant.
- guardian_
mfa_ Sequence[Getpages Tenant Guardian Mfa Page] - id str
- The provider-assigned unique ID for this managed resource.
- idle_
session_ floatlifetime - Number of hours during which a session can be inactive before the user must log in again.
- management_
api_ stridentifier - The identifier value of the built-in Management API resource server, which can be used as an audience when configuring client grants.
- picture_
url str - URL of logo to be shown for the tenant. Recommended size is 150px x 150px. If no URL is provided, the Auth0 logo will be used.
- sandbox_
version str - Selected sandbox version for the extensibility environment, which allows you to use custom scripts to extend parts of Auth0's functionality.
-
Sequence[Get
Tenant Session Cooky] - Alters behavior of tenant's session cookie. Contains a single
modeproperty. - session_
lifetime float - Number of hours during which a session will stay valid.
- support_
email str - Support email address for authenticating users.
- support_
url str - Support URL for authenticating users.
- universal_
logins Sequence[GetTenant Universal Login]
- allowed
Logout List<String>Urls - URLs that Auth0 may redirect to after logout.
- change
Passwords List<Property Map> - default
Audience String - API Audience to use by default for API Authorization flows. This setting is equivalent to appending the audience to every authorization request made to the tenant for every application.
- default
Directory String - Name of the connection to be used for Password Grant exchanges. Options include
auth0-adldap,ad,auth0,email,sms,waad, andadfs. - default
Redirection StringUri - The default absolute redirection URI. Must be HTTPS or an empty string.
- domain String
- Your Auth0 domain name.
- enabled
Locales List<String> - Supported locales for the user interface. The first locale in the list will be used to set the default locale.
- error
Pages List<Property Map> - flags List<Property Map>
- Configuration settings for tenant flags.
- friendly
Name String - Friendly name for the tenant.
- guardian
Mfa List<Property Map>Pages - id String
- The provider-assigned unique ID for this managed resource.
- idle
Session NumberLifetime - Number of hours during which a session can be inactive before the user must log in again.
- management
Api StringIdentifier - The identifier value of the built-in Management API resource server, which can be used as an audience when configuring client grants.
- picture
Url String - URL of logo to be shown for the tenant. Recommended size is 150px x 150px. If no URL is provided, the Auth0 logo will be used.
- sandbox
Version String - Selected sandbox version for the extensibility environment, which allows you to use custom scripts to extend parts of Auth0's functionality.
- List<Property Map>
- Alters behavior of tenant's session cookie. Contains a single
modeproperty. - session
Lifetime Number - Number of hours during which a session will stay valid.
- support
Email String - Support email address for authenticating users.
- support
Url String - Support URL for authenticating users.
- universal
Logins List<Property Map>
Supporting Types
GetTenantChangePassword
GetTenantErrorPage
- Html string
- Show
Log boolLink - Url string
- Html string
- Show
Log boolLink - Url string
- html String
- show
Log BooleanLink - url String
- html string
- show
Log booleanLink - url string
- html str
- show_
log_ boollink - url str
- html String
- show
Log BooleanLink - url String
GetTenantFlag
- Allow
Legacy boolDelegation Grant Types - Allow
Legacy boolRo Grant Types - Allow
Legacy boolTokeninfo Endpoint - Dashboard
Insights boolView - Dashboard
Log boolStreams Next - Disable
Clickjack boolProtection Headers - Disable
Fields boolMap Fix - Disable
Management boolApi Sms Obfuscation - Enable
Adfs boolWaad Email Verification - Enable
Apis boolSection - Enable
Client boolConnections - Enable
Custom boolDomain In Emails - Enable
Dynamic boolClient Registration - Enable
Idtoken boolApi2 - Enable
Legacy boolLogs Search V2 - Enable
Legacy boolProfile - Enable
Pipeline2 bool - Enable
Public boolSignup User Exists Error - Mfa
Show boolFactor List On Enrollment - No
Disclose boolEnterprise Connections - Revoke
Refresh boolToken Grant - Universal
Login bool - Use
Scope boolDescriptions For Consent
- Allow
Legacy boolDelegation Grant Types - Allow
Legacy boolRo Grant Types - Allow
Legacy boolTokeninfo Endpoint - Dashboard
Insights boolView - Dashboard
Log boolStreams Next - Disable
Clickjack boolProtection Headers - Disable
Fields boolMap Fix - Disable
Management boolApi Sms Obfuscation - Enable
Adfs boolWaad Email Verification - Enable
Apis boolSection - Enable
Client boolConnections - Enable
Custom boolDomain In Emails - Enable
Dynamic boolClient Registration - Enable
Idtoken boolApi2 - Enable
Legacy boolLogs Search V2 - Enable
Legacy boolProfile - Enable
Pipeline2 bool - Enable
Public boolSignup User Exists Error - Mfa
Show boolFactor List On Enrollment - No
Disclose boolEnterprise Connections - Revoke
Refresh boolToken Grant - Universal
Login bool - Use
Scope boolDescriptions For Consent
- allow
Legacy BooleanDelegation Grant Types - allow
Legacy BooleanRo Grant Types - allow
Legacy BooleanTokeninfo Endpoint - dashboard
Insights BooleanView - dashboard
Log BooleanStreams Next - disable
Clickjack BooleanProtection Headers - disable
Fields BooleanMap Fix - disable
Management BooleanApi Sms Obfuscation - enable
Adfs BooleanWaad Email Verification - enable
Apis BooleanSection - enable
Client BooleanConnections - enable
Custom BooleanDomain In Emails - enable
Dynamic BooleanClient Registration - enable
Idtoken BooleanApi2 - enable
Legacy BooleanLogs Search V2 - enable
Legacy BooleanProfile - enable
Pipeline2 Boolean - enable
Public BooleanSignup User Exists Error - mfa
Show BooleanFactor List On Enrollment - no
Disclose BooleanEnterprise Connections - revoke
Refresh BooleanToken Grant - universal
Login Boolean - use
Scope BooleanDescriptions For Consent
- allow
Legacy booleanDelegation Grant Types - allow
Legacy booleanRo Grant Types - allow
Legacy booleanTokeninfo Endpoint - dashboard
Insights booleanView - dashboard
Log booleanStreams Next - disable
Clickjack booleanProtection Headers - disable
Fields booleanMap Fix - disable
Management booleanApi Sms Obfuscation - enable
Adfs booleanWaad Email Verification - enable
Apis booleanSection - enable
Client booleanConnections - enable
Custom booleanDomain In Emails - enable
Dynamic booleanClient Registration - enable
Idtoken booleanApi2 - enable
Legacy booleanLogs Search V2 - enable
Legacy booleanProfile - enable
Pipeline2 boolean - enable
Public booleanSignup User Exists Error - mfa
Show booleanFactor List On Enrollment - no
Disclose booleanEnterprise Connections - revoke
Refresh booleanToken Grant - universal
Login boolean - use
Scope booleanDescriptions For Consent
- allow_
legacy_ booldelegation_ grant_ types - allow_
legacy_ boolro_ grant_ types - allow_
legacy_ booltokeninfo_ endpoint - dashboard_
insights_ boolview - dashboard_
log_ boolstreams_ next - disable_
clickjack_ boolprotection_ headers - disable_
fields_ boolmap_ fix - disable_
management_ boolapi_ sms_ obfuscation - enable_
adfs_ boolwaad_ email_ verification - enable_
apis_ boolsection - enable_
client_ boolconnections - enable_
custom_ booldomain_ in_ emails - enable_
dynamic_ boolclient_ registration - enable_
idtoken_ boolapi2 - enable_
legacy_ boollogs_ search_ v2 - enable_
legacy_ boolprofile - enable_
pipeline2 bool - enable_
public_ boolsignup_ user_ exists_ error - mfa_
show_ boolfactor_ list_ on_ enrollment - no_
disclose_ boolenterprise_ connections - revoke_
refresh_ booltoken_ grant - universal_
login bool - use_
scope_ booldescriptions_ for_ consent
- allow
Legacy BooleanDelegation Grant Types - allow
Legacy BooleanRo Grant Types - allow
Legacy BooleanTokeninfo Endpoint - dashboard
Insights BooleanView - dashboard
Log BooleanStreams Next - disable
Clickjack BooleanProtection Headers - disable
Fields BooleanMap Fix - disable
Management BooleanApi Sms Obfuscation - enable
Adfs BooleanWaad Email Verification - enable
Apis BooleanSection - enable
Client BooleanConnections - enable
Custom BooleanDomain In Emails - enable
Dynamic BooleanClient Registration - enable
Idtoken BooleanApi2 - enable
Legacy BooleanLogs Search V2 - enable
Legacy BooleanProfile - enable
Pipeline2 Boolean - enable
Public BooleanSignup User Exists Error - mfa
Show BooleanFactor List On Enrollment - no
Disclose BooleanEnterprise Connections - revoke
Refresh BooleanToken Grant - universal
Login Boolean - use
Scope BooleanDescriptions For Consent
GetTenantGuardianMfaPage
GetTenantSessionCooky
- Mode string
- Mode string
- mode String
- mode string
- mode str
- mode String
GetTenantUniversalLogin
GetTenantUniversalLoginColor
- Page
Background string - Primary string
- Page
Background string - Primary string
- page
Background String - primary String
- page
Background string - primary string
- page_
background str - primary str
- page
Background String - primary String
Package Details
- Repository
- Auth0 pulumi/pulumi-auth0
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
auth0Terraform Provider.
Viewing docs for Auth0 v2.24.3 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
