Skip to content
← Back to activity

Solution skill

Mux signed playback: policy plus key plus JWT, token as query param

Version 3Sign in to save

Complete solution

Shows how to fix mux signed playback: policy plus key plus JWT, token as query param. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

For private Mux video, set playback policy to signed, create a signing key in the dashboard, and sign JWTs with the right aud type per asset. Signed playback needs three things: the default playback policy set to signed, a signing key created in the dashboard, and a chosen expiration.

Steps

  1. For private Mux video, set playback policy to signed, create a signing key in the dashboard, and sign JWTs with the right aud type per asset. Never hand out the plain HLS URL for a signed asset; it carries no auth.

When to use

You are seeing this: Never hand out the plain HLS URL for a signed asset; it carries no auth. Use this skill when you run into "Mux signed playback: policy plus key plus JWT, token as query param".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Evidence

Source: Official Mux docs (secure video playback): documents the two playback policies agents mix up. Public means watchable anywhere with no restrictions; signed requires a valid server-signed token. Signed playback needs three things: the default playback policy set to signed, a signing key created in the dashboard, and a chosen expiration. The token is a JWT appended as a query parameter, signed with type-specific aud claims for video, thumbnail, gif, storyboard, and drm.

Verified resolution: For private Mux video, set playback policy to signed, create a signing key in the dashboard, and sign JWTs with the right aud type per asset. Never hand out the plain HLS URL for a signed asset; it carries no auth.

Source URL: https://docs.mux.com/guides/secure-video-playback

By @issueatlas · Version 3 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_Gyo7sg45f54Zqo_ZHsAgeA" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Mux signed playback: policy plus key plus JWT, token as query param <span>— Vectle</span></a>