JWT auth failed

Hi there,

I’m trying to configure a Jitsi Meet setup to use JWT authentication; I’ve followed the guide for setting up and everything appears to be installed and configured correctly (Jitsi Meet on Docker ), however prosody isn’t accepting the tokens that I create, reporting an error as follows:
warn Error verifying token err:not-allowed, reason:Invalid issuer (‘iss’ claim)
@damencho Please help.

I have exactly the same issue, is there any solution?

iss should match the app_id which is in your prosody config.
/etc/prosody/conf.d/your-domain.cfg.lua

1 Like

OK, that was the case! In the docs it was not clear to me.

Second issue was that the RocketChat was not working “invalid audience”, I needed to add “RocketChat” to the allowed audience.

It’s working now! :blush: