---
title: >-
  allowed_sources now supports secure WebSocket connections - Shopify developer
  changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: >-
    https://shopify.dev/changelog/posts/allowed_sources-now-accepts-wss-origins-for-websockets
  md: >-
    https://shopify.dev/changelog/posts/allowed_sources-now-accepts-wss-origins-for-websockets.md
metadata:
  effectiveApiVersion: ''
  affectedApi: []
  primaryTag:
    displayName: Platform
    handle: platform
  secondaryTag:
    displayName: New
    handle: new
  indicatesActionRequired: false
  createdAt: '2026-12-02T11:37:28-05:00'
  postedAt: '2026-12-03T08:00:00-05:00'
  updatedAt: '2026-12-02T11:58:21-05:00'
  effectiveAt: '2026-12-03T12:00:00-05:00'
---

December 3, 2026

# `allowed_sources` now supports secure WebSocket connections

DateDecember 3, 2026

FlagsNew

Tags[Security](https://shopify.dev/changelog?filter=security)Platform

You can now add secure WebSocket servers to your app's `allowed_sources` list in `shopify.app.toml`.

## What changed

Network access declarations previously supported HTTPS servers only. You can now include secure WebSocket addresses (starting with `wss://`) using the same formatting rules, subdomain wildcards, and 30-entry limit. Unencrypted WebSockets still aren't accepted.

## What to do

If your app doesn't use WebSockets on the online store, then no action is needed. If it does, then add a separate WebSocket entry for each server, even when the same host is already listed with HTTPS, and deploy a new app version.

For an example and testing steps, see [Declare your app's network access](https://shopify.dev/docs/apps/build/security/storefront/declare-network-access) and the [app configuration reference](https://shopify.dev/docs/apps/build/cli-for-apps/app-configuration#allowed_sources).
