Project Settings

This guide covers all the customizable settings for your Descope project. Configure these settings on the Project Settings page of the Descope Console.

Project Creation

When you create a new Descope Project, you can configure the following settings:

  • Project Name: Name of your project. Can be modified later.
  • Region: We support multi-region data residency. The region (US, EU, AP, CA, UK, SG, or SA) is selected during the project creation and cannot be changed after the project has been created.
  • Environment Settings: Choose whether or not the project has the production tag. This is meant primarily to be an internal identifier, but Static OTP for Test Users will be disabled in production tagged projects. You can also add additional custom tags to the project, discussed in the General section below.
  • Project Configuration: Choose whether or not to clone the configurations of an existing project in the same company. This will not clone user data.

The production tag is meant primarily to be an internal identifier, but Static OTP for Test Users will be disabled in projects with the tag.

Once a Descope Project has been created, you can edit the following settings from the Project Settings page of the Descope Console.

General Settings

Under the General tab on the Project Settings page, you can configure the following:

General

Note

The General tab is where you can find your project's ID, which is used to identify the project in the API and SDKs.

You can also copy a project's ID or name directly from the project selector dropdown at the top-left of the Console—hover over any project in the list and click the copy icon next to it. This is a quick way to grab another project's ID without switching into it first.

You can modify the Project Name and Environment Settings previously set during Project Creation.

You can add custom descriptive tags to projects. These are maintained on a company level, allowing you to use the same tags across different projects in the same company.

This can be used to give granular access to Descopers based on tags associated with projects in the company.

Additionally, you can configure the URL of your application, and configure a custom domain.

General Project Settings

Security

Approved Domains

Configure domains allowed for redirect and verification URLs across authentication methods. Leaving this empty disables validation and creates security vulnerabilities.

Note

When you enable Apply Trusted Domains on Flow Execution, Descope-hosted domains such as api.descope.com aren't allowed automatically. To run Auth Hosting or other flows hosted by Descope, add those domains to Approved Domains yourself.

Approved Domains Project Settings

  • Web Domains: Enter domain only, without protocol (e.g., example.com not https://example.com)
  • Mobile App Schemes: For a custom scheme, enter the full callback URL including the scheme (e.g., descopeauth://flow or yourapp://auth). A bare entry such as flow matches that host on any scheme, so it is weaker than the full URL.

All redirect URIs are validated against this trusted domain list to maintain security. Descope validates a redirect URL built from dynamic values after it resolves, so list every domain your dynamic values can produce.

With Apply Trusted Domains on Flow Execution turned on, Descope also checks the page that runs each flow against this list. Descope reads the page from the request's Referer header. When the browser sends no Referer, Descope checks the Origin header instead. A hybrid app on a custom scheme relies on that fallback. For example, a Capacitor app on iOS runs on a capacitor:// page, and WebKit sends only its origin. A bare entry such as app.example.com matches that host on any scheme, so it covers capacitor://app.example.com.

The list also covers mobile apps that run a flow in the system browser. When a mobile SDK opens a flow step in the browser, the browser returns to your app through a callback URL, and Descope rejects that callback with E108204 unless it matches an entry here. On iOS, the React Native and Flutter SDKs use descopeauth://flow as the default callback, so add that entry if your app uses either SDK.

Federated App callback URLs are restricted according to this approved domains list. An OIDC Federated App or Inbound App checks its own approved redirect URLs first and uses this list only when it has none. With both lists empty, Descope accepts any callback URL, so an authorization code can be sent anywhere.

Apply Trusted Domains on Flow Execution

Approved Domains on their own validate the URLs your flows send users to, such as redirect and magic link URLs. They don't validate the page that runs the flow. The flow APIs are public, because the SDK calls them from the browser, so any site that knows your project ID could embed your flows.

To block that, you can check Apply Trusted Domains on flow execution under Approved Domains. The checkbox appears once the list has at least one domain. When it's on, Descope validates every flow request against the list. The check stops other websites from running your flows in a browser. It doesn't authenticate the caller, because a script outside a browser can set these headers to any value. Use other controls, such as bot detection from a fraud connector, against automated requests.

The validation works like this:

  • Page domain: Descope reads the page's address from the request's Referer header. When the browser sends no Referer, as WebKit does from a capacitor:// page on iOS, Descope uses the Origin header instead.
  • Matching: A domain matches itself and all of its subdomains, so example.com also allows app.example.com. To allow local development, add localhost or 127.0.0.1 to the list.
  • Blocked requests: A flow request from an unlisted domain, or with neither header, fails with a 403 error: "Flow is running from a non-approved domain".

Descope skips this validation for requests from the Descope Console and from management flows.

Cross-Company Domain Protection

Descope automatically validates that authentication flows are not running on domains belonging to other companies. This security feature prevents flows from one project being executed on custom domains configured in different companies, protecting against potential domain hijacking or cross-company misuse.

How it works:

  • When a flow starts or continues, Descope validates the requesting domain against your project's trusted domains (standard validation)
  • Additionally, Descope checks if the domain belongs to another company's project (cross-company validation)
  • If the domain is found in another company's trusted domains, the flow is blocked with an error

Example scenario:

  • Company A has auth.companyA.com in their trusted domains
  • Company B has auth.companyB.com in their trusted domains
  • If Company A's flow attempts to run on auth.companyB.com, it will be automatically blocked

This validation happens automatically on all flow endpoints (/v1/flow/start, /v1/flow/next, etc.) and requires no configuration.

Federated Apps

Define the default access to Federated Apps for new users.

Under Default access for new users, choose one of the following:

  • Give access to all applications (default): new users can access every Federated App as soon as they are created.
  • Do not give access to any applications: new users start with no access. You then have to manually associate users, roles, or tenants with an application before any applicable user can access it.

Federated Apps Project Settings

Signing Keys

Here you can view, manage, and rotate JWKs, keys used for verification of JWTs by the Authorization Server.

Descope-Hosted Login Pages

Every project serves the Auth Hosting App by default, so your flows are reachable at:

  • https://<Your Descope API Host>/__ProjectID__
  • https://<Your Descope API Host>/login/__ProjectID__
  • The same paths on your custom domain, if you have one

Select Disable Descope-hosted login pages if you render flows only with the SDK components in your own web application. Descope then refuses to run this project's flows from the Auth Hosting App, wherever it is served.

What stops working

Anything that loads the hosted page stops working:

  • Applications with Flow Hosting URL set to Hosted by Descope
  • Embedded links that open the hosted page
  • Mobile Native Flows that point at the hosted page
  • Flows loaded through iframe Embedding

Before you disable hosted pages, move these to a page you built with the SDK components. A self-hosted copy of the Auth Hosting App is refused too, unless you remove the x-descope-auth-hosting header it sends.

See Disabling Auth Hosting for the full list.

iframe Embedding

Check iframe Embedding to enable iframe embedding for your project. This removes the security header Descope adds by default so your Descope-hosted flows can load in an iframe on your site.

iframe Embedding Project Settings

Tenant User Isolation

Check Tenant User Isolation to isolate users per tenant so the same login ID is treated as a separate identity in each tenant, with independent credentials and MFA state. For more information, refer to Tenant User Isolation.

Security Project Settings

Sign Ups and User Invitations

Sign Up

Check Block self-registration sign up to restrict new user sign up.

With this setting enabled, users can only sign in if they have been previously invited to your project or by using SSO to sign in.

User Invitations

This is where you can define how invitations are sent to users and customize the invitations.

  • User Invitation Redirect URL:

    This URL is included in the invite email/SMS sent to the end user. It is typically the login or sign-up page of the application.

  • Invite Expiration:

    When enabled, the invited user account expires if the invitation is not accepted within the configured period. Set the period in hours, days, or weeks.

  • Add a Magic Link token to the Invitation Link:

    For a smoother authentication experience, add a Magic Link to your user's invitation email/SMS, so that upon clicking - only verification is needed. You can also define the token expiration time here. To handle a Magic Link token in the flow, refer to the Verify Token guide.

  • Invitation Sending Methods:

    Choose to send the invitation via Email and/or Text Message (SMS). For both options, you can configure the messaging connector to use, as well as the template. For more details on configuring messaging templates, refer to our messaging templates guide.

Sign Ups and User Invitations Project Settings

Family Settings

The Family Settings section turns on the family feature, which groups guardians and dependents into families. Families are off by default, and the section is collapsed until you expand it.

Turn on Allow family capabilities to use families. You can then set Max users per family and select Allow multiple families per user. For details on each setting, refer to Enabling Families.

Family Settings section in Project Settings

Test Users

Define a regex pattern to match Login IDs during sign-up. Users with matching Login IDs are automatically marked as test users. Here, you can also configure a Static OTP Code to be used for the test users' verifiers (email and phone).

For complete setup instructions and advanced configuration options, see the Test Users Guide.

Test Users Project Settings

Project Management

You can manage the cloning, export, import, and deletion of projects within this section of Project Settings.

Typically, environments for development, staging, and production are considered separate projects in Descope. Each project can have its own settings, as well as its own users and permissions.

For details, review our dedicated guide on Managing Environments.

Project Management Project Settings

To delete a specific project:

  1. Open the project you want to delete in the Descope Console.
  2. Go to Project Settings → General for that project.
  3. Scroll to the bottom of the page and click Delete Project.
  4. Confirm the deletion by typing the project name.

Session Management

Under the Session Management tab on the Project Settings page, you can configure the following:

Session management can also be overridden at a tenant level. More information about tenant level session management can be found here.

Token Format

Here you can assign the JWT Templates that JWTs generated by this project will use. Both User and Access Key JWT Templates can be assigned here.

Refer to the JWT Templates Settings documentation to learn how to configure JWT Templates.

Token Format Project Settings

Token Expiration

Define default expiration times for different tokens used for authentication.

Refresh Token Timeout

Expiry time for the refresh token, after which the user must log in again.

The maximum refresh token timeout is 6 months, or 3 years on the Enterprise tier. Longer values are rejected when you save your settings, and any refresh token issued with a longer duration is capped at the maximum.

You can override the default refresh duration during a flow using the Custom Claims action.

Refresh Token Rotation

Configuring Refresh Token Rotation is a pro+ tier feature.

When enabled, every time the user refreshes their session token (using the refresh token) - the refresh token is also updated to a new one. This method is considered a more secure approach.

To learn more, check out our Refresh Token Rotation guide.

Session Token Timeout

Expiry time of the session token, used for accessing the application's resources. Value needs to be at least 3 minutes and can't be longer than the Refresh Token Timeout.

Step Up Token Timeout

Expiry time for the Step Up token, after which the step up token will not be valid, and the user will automatically go back to the Session token.

Trusted Device Token Timeout

Expiry time of the trusted device token. Value needs to be at least 3 minutes.

Access Key Session Token Timeout

Expiry time of the access key session token. Value needs to be at least 3 minutes and can't be longer than 1 month.

Token Expiration Project Settings

Session Inactivity

Session inactivity detects idle sessions and closes them on behalf of the user to protect sensitive information. An idle session occurs when there is no user activity within the system for the specified duration.

When session inactivity is enabled, client SDKs must periodically refresh the session to prevent it from expiring while the user is still active. To support this efficiently, when the app returns to the foreground and on resume, the SDK refreshes the session if it expired. If the refresh token has expired while the app was in the background, the user will be required to authenticate again.

Session Inactivity Project Settings

When session inactivity is enabled, the refresh heartbeat (a periodic background refresh that keeps an active session alive) is scheduled at 10% of the configured session inactivity timeout. When session inactivity is disabled (the default behavior), the refresh is instead based on the length of the session timeout.

Token Response Methods

Configure how tokens are managed by the Descope SDKs. For both the refresh and session token, you can choose to Manage in response body or Manage in cookies.

Refer to our Session Token Management Guide for best practices.

Token Response Methods Project Settings

Session Migration (Beta)

Enable seamless migration of existing user sessions from another vendor to Descope. Refer to our Session Migration doc for more details.

JWT Templates

Under the JWT Templates tab on the Project Settings page, you can configure JWT Templates for User and Access Tokens. Refer to our JWT Templates doc for more details.

Lists

A List is a project-level object containing a reusable collection of values such as IP addresses, CIDR ranges, phone numbers, email domains, or countries that you can reference directly in flow conditions.

Supported List Types

Descope applies specific matching logic based on the list type:

  • Text: Exact string matching for items like email domains or usernames
  • IPs/CIDR: Matches exact IPs or checks if a user IP falls within a CIDR range

Navigate to Lists in the Project Settings page to create and manage lists. Lists can be updated via flow actions, the Console, or managed using CI/CD tools like Terraform.

For a practical implementation example, see our guide on Blocking Users by IP Address.

Search Lists

You can use the search box at the top of the Lists tab to find lists by name or by the items they contain. Matching ignores case and finds partial matches, so ap matches apple. Wildcards are not supported.

  • If the search matches items inside a list, the list card shows only the matching items, and the subtitle reads N of M items match.
  • If the search matches only the list name, the card shows all of its items.

Lists tab filtered by a search term

Search Items Within a List

When you edit a list, you can use Search items, above the Items field, to filter the items shown in the dialog. While you filter, a caption reads N of M items match. If your search on the Lists tab matched items in that list, the field is filled in with that search. If no item matched, the field starts empty.

Filtering only changes what is displayed. Removing an item from the filtered view removes that item from the list.

Note

The search box on the Lists tab is disabled when the project has no lists. Search items is not available when you create a list. Opening the edit dialog requires permission to edit project settings.

Was this helpful?

On this page