User/Channel ID needs to be a string
From: https://github.com/twitchdev/issues/issues/70
Brief description
The documentation for creating signing JWT's don't explicitly state that user_id
/channel_id
in JWT's need to be an explicit string literal
https://dev.twitch.tv/docs/extensions/building/#signing-the-jwt
https://dev.twitch.tv/docs/extensions/reference#send-extension-pubsub-message
Expected documentation
Where:
exp is the Unix epoch timestamp when the payload will expire. Be sure to provide a buffer, to allow potential positive time drift.
user_id is the Twitch user ID that owns the extension, where the user ID is cast as a string literal.
role is set to external.
3
votes
AdminJon Bulava
(Developer Relations, Twitch)
shared this idea