codeoverflow-org / nodecg-io

A NodeCG-bundle which implements Social Media API's in the NodeCG framework
https://nodecg.io
MIT License
108 stars 26 forks source link

Send an error into the console when StreamElements JWT Token is expired #1139

Open SteffoSpieler opened 6 months ago

SteffoSpieler commented 6 months ago

Description

Currently, when a StreamElements JWT Token is expired, the console still says "successfully connected", which is technically wrong. I'd love to see in the console when I have to re-enter the JWT Token.

As far as I know, the expire-date is included in the token.