Extension Chat Message returns 401 authentication failed

Welcome.

Probably also worth just using the JWT lib I linked rather than custom code, but if your stuff works all the better!