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
![](https://secure.gravatar.com/avatar/d41d8cd98f00b204e9800998ecf8427e?size=40&default=https%3A%2F%2Fstatic-cdn.jtvnw.net%2Fjtv_user_pictures%2F41055409-b3d9-4a61-84be-7bb453045ce1-profile_image-150x150.png)