Regarding JWT in JAAS

Hello,

I was tring to join Meet with JWT Authentication.
But I can’t able to authenticate the user. it will always show me like Screenshot by Lightshot
can you please help me,

when I have genrated JWT token from Jitsi as a Service – World's easiest way to add meetings to your apps => Screenshot by Lightshot then it will work.

but when I have tried from https://jwt.io/ => Screenshot by Lightshot then it will show me Screenshot by Lightshot.
I have adde public and private key both in jwt debugger.

`{
    "iss":"chat", 
    "aud":"jitsi", 
    "iat":1670579480, 
    "exp":1670586680, 
    "nbf":1670579475, 
    "room":"*",
    "sub":"vpaas-magic-cookie-623e02fcf4624964a617164b1bcc6061",
    "context":{
       "user":{
             "moderator":false,
             "email":"hir@test.com",
             "name":"Hiren",
             "avatar":"",
             "id":"google-oauth2|108784944420428237129"
       },
      "features":{
           "recording":true,
           "livestreaming":true,
           "transcription":true,
           "sip-outbound-call":false,
           "outbound-call":true
      }
   }
}`

This payload wich I have tried in jwt

And Screenshot by Lightshot this paylod from Jaas Dashboard.

Thanks In Advance.

You can get more info what is wrong with the token from the console js error? What does it say?

1 Like

Hello I got JWT errors like invalid signature

This means the signature is invalid. Did you use the correct private key on jwt.io to sign the jwt token?

Yes

You better use the JaaS support channel to get help.