Skip to main content

Allowlist settings

The allowlist restricts which domains and URLs can use your project's Embedded Wallets SDK. Only explicitly allowlisted origins can authenticate users. This prevents unauthorized sites from using your Client ID.

Project settings allowlist
warning

For Sapphire Mainnet projects, at least one domain must be allowlisted before the SDK works in production.

Add a domain

  1. Navigate to Project SettingsAllowlist.
  2. Click Add Domain.
  3. Enter the complete origin including protocol (for example, https://myapp.com).
  4. Save the configuration.

Supported URL formats

The allowlist accepts the following formats:

FormatExample
Production domainhttps://myapp.com
Subdomainhttps://app.myapp.com
Subdomain wildcardhttps://*.myapp.com
localhosthttp://localhost:3000
Port-specifichttps://myapp.com:8443
iOS bundle IDcom.yourcompany.yourapp
Android packagecom.yourcompany.yourapp
Deep link schemeyourapp://auth

Always use HTTPS for production domains. Include all subdomains and ports your dapp uses. Remove development URLs before going to production.

Next steps