1. Registry
  2. Packages
  3. Descope Provider
  4. API Docs
  5. ProjectSettings
Viewing docs for Descope v1.0.1
published on Sunday, Oct 11, 2026 by Descope
descope logo Descope
Viewing docs for Descope v1.0.1
published on Sunday, Oct 11, 2026 by Descope

    Manages the project-level domain, security, and test user settings. This is a singleton resource, and its id is always the project ID.

    Create ProjectSettings Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ProjectSettings(name: string, args: ProjectSettingsArgs, opts?: CustomResourceOptions);
    @overload
    def ProjectSettings(resource_name: str,
                        args: ProjectSettingsArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def ProjectSettings(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        project_id: Optional[str] = None,
                        allow_auth_hosting_iframe_embedding: Optional[bool] = None,
                        app_url: Optional[str] = None,
                        approved_domains: Optional[Sequence[str]] = None,
                        custom_domain: Optional[str] = None,
                        default_no_sso_apps: Optional[bool] = None,
                        tenant_user_isolation: Optional[bool] = None,
                        test_users_loginid_regexp: Optional[str] = None,
                        test_users_static_otp: Optional[str] = None,
                        test_users_verifier_regexp: Optional[str] = None)
    func NewProjectSettings(ctx *Context, name string, args ProjectSettingsArgs, opts ...ResourceOption) (*ProjectSettings, error)
    public ProjectSettings(string name, ProjectSettingsArgs args, CustomResourceOptions? opts = null)
    public ProjectSettings(String name, ProjectSettingsArgs args)
    public ProjectSettings(String name, ProjectSettingsArgs args, CustomResourceOptions options)
    
    type: descope:ProjectSettings
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "descope_project_settings" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ProjectSettingsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ProjectSettingsArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ProjectSettingsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ProjectSettingsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ProjectSettingsArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var projectSettingsResource = new Descope.ProjectSettings("projectSettingsResource", new()
    {
        ProjectId = "string",
        AllowAuthHostingIframeEmbedding = false,
        AppUrl = "string",
        ApprovedDomains = new[]
        {
            "string",
        },
        CustomDomain = "string",
        DefaultNoSsoApps = false,
        TenantUserIsolation = false,
        TestUsersLoginidRegexp = "string",
        TestUsersStaticOtp = "string",
        TestUsersVerifierRegexp = "string",
    });
    
    example, err := descope.NewProjectSettings(ctx, "projectSettingsResource", &descope.ProjectSettingsArgs{
    	ProjectId:                       pulumi.String("string"),
    	AllowAuthHostingIframeEmbedding: pulumi.Bool(false),
    	AppUrl:                          pulumi.String("string"),
    	ApprovedDomains: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	CustomDomain:            pulumi.String("string"),
    	DefaultNoSsoApps:        pulumi.Bool(false),
    	TenantUserIsolation:     pulumi.Bool(false),
    	TestUsersLoginidRegexp:  pulumi.String("string"),
    	TestUsersStaticOtp:      pulumi.String("string"),
    	TestUsersVerifierRegexp: pulumi.String("string"),
    })
    
    resource "descope_project_settings" "projectSettingsResource" {
      lifecycle {
        create_before_destroy = true
      }
      project_id                          = "string"
      allow_auth_hosting_iframe_embedding = false
      app_url                             = "string"
      approved_domains                    = ["string"]
      custom_domain                       = "string"
      default_no_sso_apps                 = false
      tenant_user_isolation               = false
      test_users_loginid_regexp           = "string"
      test_users_static_otp               = "string"
      test_users_verifier_regexp          = "string"
    }
    
    var projectSettingsResource = new ProjectSettings("projectSettingsResource", ProjectSettingsArgs.builder()
        .projectId("string")
        .allowAuthHostingIframeEmbedding(false)
        .appUrl("string")
        .approvedDomains("string")
        .customDomain("string")
        .defaultNoSsoApps(false)
        .tenantUserIsolation(false)
        .testUsersLoginidRegexp("string")
        .testUsersStaticOtp("string")
        .testUsersVerifierRegexp("string")
        .build());
    
    project_settings_resource = descope.ProjectSettings("projectSettingsResource",
        project_id="string",
        allow_auth_hosting_iframe_embedding=False,
        app_url="string",
        approved_domains=["string"],
        custom_domain="string",
        default_no_sso_apps=False,
        tenant_user_isolation=False,
        test_users_loginid_regexp="string",
        test_users_static_otp="string",
        test_users_verifier_regexp="string")
    
    const projectSettingsResource = new descope.ProjectSettings("projectSettingsResource", {
        projectId: "string",
        allowAuthHostingIframeEmbedding: false,
        appUrl: "string",
        approvedDomains: ["string"],
        customDomain: "string",
        defaultNoSsoApps: false,
        tenantUserIsolation: false,
        testUsersLoginidRegexp: "string",
        testUsersStaticOtp: "string",
        testUsersVerifierRegexp: "string",
    });
    
    type: descope:ProjectSettings
    properties:
        allowAuthHostingIframeEmbedding: false
        appUrl: string
        approvedDomains:
            - string
        customDomain: string
        defaultNoSsoApps: false
        projectId: string
        tenantUserIsolation: false
        testUsersLoginidRegexp: string
        testUsersStaticOtp: string
        testUsersVerifierRegexp: string
    

    ProjectSettings Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ProjectSettings resource accepts the following input properties:

    ProjectId string
    The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
    AllowAuthHostingIframeEmbedding bool
    When enabled, Descope-hosted flows can be displayed within an iframe on your website. This modifies the security headers that typically prevent the page from being embedded.
    AppUrl string
    The URL where your application resides.
    ApprovedDomains List<string>
    List of approved domains that are allowed for redirect and verification URLs for different authentication methods.
    CustomDomain string
    A custom CNAME domain for the project, used instead of the default Descope base URL for authentication traffic. Must be a subdomain of the appUrl domain.
    DefaultNoSsoApps bool
    Whether new users should not be given access to any federated applications by default.
    TenantUserIsolation bool
    Isolate users per tenant so the same login ID is treated as a separate identity in each tenant, with independent credentials and MFA state.
    TestUsersLoginidRegexp string
    A regular expression pattern that, when a user is created with a matching login ID, will automatically mark the user as a test user.
    TestUsersStaticOtp string
    A static OTP code that can be used by test users instead of a real verification code. Must be set together with testUsersVerifierRegexp.
    TestUsersVerifierRegexp string
    A regular expression pattern that determines which test user verifiers (email addresses or phone numbers) the static OTP code applies to.
    ProjectId string
    The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
    AllowAuthHostingIframeEmbedding bool
    When enabled, Descope-hosted flows can be displayed within an iframe on your website. This modifies the security headers that typically prevent the page from being embedded.
    AppUrl string
    The URL where your application resides.
    ApprovedDomains []string
    List of approved domains that are allowed for redirect and verification URLs for different authentication methods.
    CustomDomain string
    A custom CNAME domain for the project, used instead of the default Descope base URL for authentication traffic. Must be a subdomain of the appUrl domain.
    DefaultNoSsoApps bool
    Whether new users should not be given access to any federated applications by default.
    TenantUserIsolation bool
    Isolate users per tenant so the same login ID is treated as a separate identity in each tenant, with independent credentials and MFA state.
    TestUsersLoginidRegexp string
    A regular expression pattern that, when a user is created with a matching login ID, will automatically mark the user as a test user.
    TestUsersStaticOtp string
    A static OTP code that can be used by test users instead of a real verification code. Must be set together with testUsersVerifierRegexp.
    TestUsersVerifierRegexp string
    A regular expression pattern that determines which test user verifiers (email addresses or phone numbers) the static OTP code applies to.
    project_id string
    The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
    allow_auth_hosting_iframe_embedding bool
    When enabled, Descope-hosted flows can be displayed within an iframe on your website. This modifies the security headers that typically prevent the page from being embedded.
    app_url string
    The URL where your application resides.
    approved_domains list(string)
    List of approved domains that are allowed for redirect and verification URLs for different authentication methods.
    custom_domain string
    A custom CNAME domain for the project, used instead of the default Descope base URL for authentication traffic. Must be a subdomain of the appUrl domain.
    default_no_sso_apps bool
    Whether new users should not be given access to any federated applications by default.
    tenant_user_isolation bool
    Isolate users per tenant so the same login ID is treated as a separate identity in each tenant, with independent credentials and MFA state.
    test_users_loginid_regexp string
    A regular expression pattern that, when a user is created with a matching login ID, will automatically mark the user as a test user.
    test_users_static_otp string
    A static OTP code that can be used by test users instead of a real verification code. Must be set together with testUsersVerifierRegexp.
    test_users_verifier_regexp string
    A regular expression pattern that determines which test user verifiers (email addresses or phone numbers) the static OTP code applies to.
    projectId String
    The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
    allowAuthHostingIframeEmbedding Boolean
    When enabled, Descope-hosted flows can be displayed within an iframe on your website. This modifies the security headers that typically prevent the page from being embedded.
    appUrl String
    The URL where your application resides.
    approvedDomains List<String>
    List of approved domains that are allowed for redirect and verification URLs for different authentication methods.
    customDomain String
    A custom CNAME domain for the project, used instead of the default Descope base URL for authentication traffic. Must be a subdomain of the appUrl domain.
    defaultNoSsoApps Boolean
    Whether new users should not be given access to any federated applications by default.
    tenantUserIsolation Boolean
    Isolate users per tenant so the same login ID is treated as a separate identity in each tenant, with independent credentials and MFA state.
    testUsersLoginidRegexp String
    A regular expression pattern that, when a user is created with a matching login ID, will automatically mark the user as a test user.
    testUsersStaticOtp String
    A static OTP code that can be used by test users instead of a real verification code. Must be set together with testUsersVerifierRegexp.
    testUsersVerifierRegexp String
    A regular expression pattern that determines which test user verifiers (email addresses or phone numbers) the static OTP code applies to.
    projectId string
    The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
    allowAuthHostingIframeEmbedding boolean
    When enabled, Descope-hosted flows can be displayed within an iframe on your website. This modifies the security headers that typically prevent the page from being embedded.
    appUrl string
    The URL where your application resides.
    approvedDomains string[]
    List of approved domains that are allowed for redirect and verification URLs for different authentication methods.
    customDomain string
    A custom CNAME domain for the project, used instead of the default Descope base URL for authentication traffic. Must be a subdomain of the appUrl domain.
    defaultNoSsoApps boolean
    Whether new users should not be given access to any federated applications by default.
    tenantUserIsolation boolean
    Isolate users per tenant so the same login ID is treated as a separate identity in each tenant, with independent credentials and MFA state.
    testUsersLoginidRegexp string
    A regular expression pattern that, when a user is created with a matching login ID, will automatically mark the user as a test user.
    testUsersStaticOtp string
    A static OTP code that can be used by test users instead of a real verification code. Must be set together with testUsersVerifierRegexp.
    testUsersVerifierRegexp string
    A regular expression pattern that determines which test user verifiers (email addresses or phone numbers) the static OTP code applies to.
    project_id str
    The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
    allow_auth_hosting_iframe_embedding bool
    When enabled, Descope-hosted flows can be displayed within an iframe on your website. This modifies the security headers that typically prevent the page from being embedded.
    app_url str
    The URL where your application resides.
    approved_domains Sequence[str]
    List of approved domains that are allowed for redirect and verification URLs for different authentication methods.
    custom_domain str
    A custom CNAME domain for the project, used instead of the default Descope base URL for authentication traffic. Must be a subdomain of the appUrl domain.
    default_no_sso_apps bool
    Whether new users should not be given access to any federated applications by default.
    tenant_user_isolation bool
    Isolate users per tenant so the same login ID is treated as a separate identity in each tenant, with independent credentials and MFA state.
    test_users_loginid_regexp str
    A regular expression pattern that, when a user is created with a matching login ID, will automatically mark the user as a test user.
    test_users_static_otp str
    A static OTP code that can be used by test users instead of a real verification code. Must be set together with testUsersVerifierRegexp.
    test_users_verifier_regexp str
    A regular expression pattern that determines which test user verifiers (email addresses or phone numbers) the static OTP code applies to.
    projectId String
    The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
    allowAuthHostingIframeEmbedding Boolean
    When enabled, Descope-hosted flows can be displayed within an iframe on your website. This modifies the security headers that typically prevent the page from being embedded.
    appUrl String
    The URL where your application resides.
    approvedDomains List<String>
    List of approved domains that are allowed for redirect and verification URLs for different authentication methods.
    customDomain String
    A custom CNAME domain for the project, used instead of the default Descope base URL for authentication traffic. Must be a subdomain of the appUrl domain.
    defaultNoSsoApps Boolean
    Whether new users should not be given access to any federated applications by default.
    tenantUserIsolation Boolean
    Isolate users per tenant so the same login ID is treated as a separate identity in each tenant, with independent credentials and MFA state.
    testUsersLoginidRegexp String
    A regular expression pattern that, when a user is created with a matching login ID, will automatically mark the user as a test user.
    testUsersStaticOtp String
    A static OTP code that can be used by test users instead of a real verification code. Must be set together with testUsersVerifierRegexp.
    testUsersVerifierRegexp String
    A regular expression pattern that determines which test user verifiers (email addresses or phone numbers) the static OTP code applies to.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ProjectSettings resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ProjectSettings Resource

    Get an existing ProjectSettings resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ProjectSettingsState, opts?: CustomResourceOptions): ProjectSettings
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            allow_auth_hosting_iframe_embedding: Optional[bool] = None,
            app_url: Optional[str] = None,
            approved_domains: Optional[Sequence[str]] = None,
            custom_domain: Optional[str] = None,
            default_no_sso_apps: Optional[bool] = None,
            project_id: Optional[str] = None,
            tenant_user_isolation: Optional[bool] = None,
            test_users_loginid_regexp: Optional[str] = None,
            test_users_static_otp: Optional[str] = None,
            test_users_verifier_regexp: Optional[str] = None) -> ProjectSettings
    func GetProjectSettings(ctx *Context, name string, id IDInput, state *ProjectSettingsState, opts ...ResourceOption) (*ProjectSettings, error)
    public static ProjectSettings Get(string name, Input<string> id, ProjectSettingsState? state, CustomResourceOptions? opts = null)
    public static ProjectSettings get(String name, Output<String> id, ProjectSettingsState state, CustomResourceOptions options)
    resources:  existingProjectSettings:    type: descope:ProjectSettings    get:      id: ${id}
    import {
      to = descope_project_settings.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    state ProjectSettingsState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state ProjectSettingsState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    state ProjectSettingsState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    state ProjectSettingsState
    Known property values the provider needs, along with the ID, to find the resource. Usually not required.
    options CustomResourceOptions
    Bag of options to control resource's behavior.
    The following state arguments are supported:
    AllowAuthHostingIframeEmbedding bool
    When enabled, Descope-hosted flows can be displayed within an iframe on your website. This modifies the security headers that typically prevent the page from being embedded.
    AppUrl string
    The URL where your application resides.
    ApprovedDomains List<string>
    List of approved domains that are allowed for redirect and verification URLs for different authentication methods.
    CustomDomain string
    A custom CNAME domain for the project, used instead of the default Descope base URL for authentication traffic. Must be a subdomain of the appUrl domain.
    DefaultNoSsoApps bool
    Whether new users should not be given access to any federated applications by default.
    ProjectId string
    The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
    TenantUserIsolation bool
    Isolate users per tenant so the same login ID is treated as a separate identity in each tenant, with independent credentials and MFA state.
    TestUsersLoginidRegexp string
    A regular expression pattern that, when a user is created with a matching login ID, will automatically mark the user as a test user.
    TestUsersStaticOtp string
    A static OTP code that can be used by test users instead of a real verification code. Must be set together with testUsersVerifierRegexp.
    TestUsersVerifierRegexp string
    A regular expression pattern that determines which test user verifiers (email addresses or phone numbers) the static OTP code applies to.
    AllowAuthHostingIframeEmbedding bool
    When enabled, Descope-hosted flows can be displayed within an iframe on your website. This modifies the security headers that typically prevent the page from being embedded.
    AppUrl string
    The URL where your application resides.
    ApprovedDomains []string
    List of approved domains that are allowed for redirect and verification URLs for different authentication methods.
    CustomDomain string
    A custom CNAME domain for the project, used instead of the default Descope base URL for authentication traffic. Must be a subdomain of the appUrl domain.
    DefaultNoSsoApps bool
    Whether new users should not be given access to any federated applications by default.
    ProjectId string
    The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
    TenantUserIsolation bool
    Isolate users per tenant so the same login ID is treated as a separate identity in each tenant, with independent credentials and MFA state.
    TestUsersLoginidRegexp string
    A regular expression pattern that, when a user is created with a matching login ID, will automatically mark the user as a test user.
    TestUsersStaticOtp string
    A static OTP code that can be used by test users instead of a real verification code. Must be set together with testUsersVerifierRegexp.
    TestUsersVerifierRegexp string
    A regular expression pattern that determines which test user verifiers (email addresses or phone numbers) the static OTP code applies to.
    allow_auth_hosting_iframe_embedding bool
    When enabled, Descope-hosted flows can be displayed within an iframe on your website. This modifies the security headers that typically prevent the page from being embedded.
    app_url string
    The URL where your application resides.
    approved_domains list(string)
    List of approved domains that are allowed for redirect and verification URLs for different authentication methods.
    custom_domain string
    A custom CNAME domain for the project, used instead of the default Descope base URL for authentication traffic. Must be a subdomain of the appUrl domain.
    default_no_sso_apps bool
    Whether new users should not be given access to any federated applications by default.
    project_id string
    The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
    tenant_user_isolation bool
    Isolate users per tenant so the same login ID is treated as a separate identity in each tenant, with independent credentials and MFA state.
    test_users_loginid_regexp string
    A regular expression pattern that, when a user is created with a matching login ID, will automatically mark the user as a test user.
    test_users_static_otp string
    A static OTP code that can be used by test users instead of a real verification code. Must be set together with testUsersVerifierRegexp.
    test_users_verifier_regexp string
    A regular expression pattern that determines which test user verifiers (email addresses or phone numbers) the static OTP code applies to.
    allowAuthHostingIframeEmbedding Boolean
    When enabled, Descope-hosted flows can be displayed within an iframe on your website. This modifies the security headers that typically prevent the page from being embedded.
    appUrl String
    The URL where your application resides.
    approvedDomains List<String>
    List of approved domains that are allowed for redirect and verification URLs for different authentication methods.
    customDomain String
    A custom CNAME domain for the project, used instead of the default Descope base URL for authentication traffic. Must be a subdomain of the appUrl domain.
    defaultNoSsoApps Boolean
    Whether new users should not be given access to any federated applications by default.
    projectId String
    The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
    tenantUserIsolation Boolean
    Isolate users per tenant so the same login ID is treated as a separate identity in each tenant, with independent credentials and MFA state.
    testUsersLoginidRegexp String
    A regular expression pattern that, when a user is created with a matching login ID, will automatically mark the user as a test user.
    testUsersStaticOtp String
    A static OTP code that can be used by test users instead of a real verification code. Must be set together with testUsersVerifierRegexp.
    testUsersVerifierRegexp String
    A regular expression pattern that determines which test user verifiers (email addresses or phone numbers) the static OTP code applies to.
    allowAuthHostingIframeEmbedding boolean
    When enabled, Descope-hosted flows can be displayed within an iframe on your website. This modifies the security headers that typically prevent the page from being embedded.
    appUrl string
    The URL where your application resides.
    approvedDomains string[]
    List of approved domains that are allowed for redirect and verification URLs for different authentication methods.
    customDomain string
    A custom CNAME domain for the project, used instead of the default Descope base URL for authentication traffic. Must be a subdomain of the appUrl domain.
    defaultNoSsoApps boolean
    Whether new users should not be given access to any federated applications by default.
    projectId string
    The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
    tenantUserIsolation boolean
    Isolate users per tenant so the same login ID is treated as a separate identity in each tenant, with independent credentials and MFA state.
    testUsersLoginidRegexp string
    A regular expression pattern that, when a user is created with a matching login ID, will automatically mark the user as a test user.
    testUsersStaticOtp string
    A static OTP code that can be used by test users instead of a real verification code. Must be set together with testUsersVerifierRegexp.
    testUsersVerifierRegexp string
    A regular expression pattern that determines which test user verifiers (email addresses or phone numbers) the static OTP code applies to.
    allow_auth_hosting_iframe_embedding bool
    When enabled, Descope-hosted flows can be displayed within an iframe on your website. This modifies the security headers that typically prevent the page from being embedded.
    app_url str
    The URL where your application resides.
    approved_domains Sequence[str]
    List of approved domains that are allowed for redirect and verification URLs for different authentication methods.
    custom_domain str
    A custom CNAME domain for the project, used instead of the default Descope base URL for authentication traffic. Must be a subdomain of the appUrl domain.
    default_no_sso_apps bool
    Whether new users should not be given access to any federated applications by default.
    project_id str
    The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
    tenant_user_isolation bool
    Isolate users per tenant so the same login ID is treated as a separate identity in each tenant, with independent credentials and MFA state.
    test_users_loginid_regexp str
    A regular expression pattern that, when a user is created with a matching login ID, will automatically mark the user as a test user.
    test_users_static_otp str
    A static OTP code that can be used by test users instead of a real verification code. Must be set together with testUsersVerifierRegexp.
    test_users_verifier_regexp str
    A regular expression pattern that determines which test user verifiers (email addresses or phone numbers) the static OTP code applies to.
    allowAuthHostingIframeEmbedding Boolean
    When enabled, Descope-hosted flows can be displayed within an iframe on your website. This modifies the security headers that typically prevent the page from being embedded.
    appUrl String
    The URL where your application resides.
    approvedDomains List<String>
    List of approved domains that are allowed for redirect and verification URLs for different authentication methods.
    customDomain String
    A custom CNAME domain for the project, used instead of the default Descope base URL for authentication traffic. Must be a subdomain of the appUrl domain.
    defaultNoSsoApps Boolean
    Whether new users should not be given access to any federated applications by default.
    projectId String
    The ID of the project that these settings belong to. Changing this value will require the resource to be deleted and recreated.
    tenantUserIsolation Boolean
    Isolate users per tenant so the same login ID is treated as a separate identity in each tenant, with independent credentials and MFA state.
    testUsersLoginidRegexp String
    A regular expression pattern that, when a user is created with a matching login ID, will automatically mark the user as a test user.
    testUsersStaticOtp String
    A static OTP code that can be used by test users instead of a real verification code. Must be set together with testUsersVerifierRegexp.
    testUsersVerifierRegexp String
    A regular expression pattern that determines which test user verifiers (email addresses or phone numbers) the static OTP code applies to.

    Package Details

    Repository
    descope descope/pulumi-descope
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the descope Terraform Provider.
    descope logo Descope
    Viewing docs for Descope v1.0.1
    published on Sunday, Oct 11, 2026 by Descope

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial