Skip to content

mux.jwt.signPlaybackId returns undefined - JWT helpers not present in library #588

@billyberkouwer

Description

@billyberkouwer

Following the API docs, it suggests generating a JWT using mux-node-sdk's helper functions, however the examples do not work.

const token = await mux.jwt.signPlaybackId(playbackId, { ...baseOptions, type: 'video' });

Returns:

TypeError: Cannot read properties of undefined (reading 'signPlaybackId')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions