jitsi / lib-jitsi-meet

A low-level JS video API that allows adding a completely custom video experience to web apps.
Apache License 2.0
1.33k stars 1.11k forks source link

Jitsi-JWT authentication - issue #2474

Open RadhikBhojani opened 7 months ago

RadhikBhojani commented 7 months ago

I have added JWT auth in my jitsi meet and I have added all required configurations as per documented here, https://github.com/jitsi/lib-jitsi-meet/blob/master/doc/tokens.md

Now, When first user is join at that time user is authenticated successfully and meeting has been started but when second user is going to join at that time user is authenticated successfully (checked in prosody log) but after that immediate it's stop the meeting.

below are prosody log for reference,

image

Install jitsi meet with docker and below are sample file for jwt auth config,

ENABLE_AUTH=1
#ENABLE_GUESTS = 0

AUTH_TYPE=jwt
JWT_APP_ID=my_app
JWT_APP_SECRET=my_app_secret
JWT_ALLOW_EMPTY=0
JWT_AUTH_TYPE=token
JWT_TOKEN_AUTH_MODULE=token_verification

# # (Optional) Set asap_accepted_audiences as a comma separated list
JWT_ACCEPTED_AUDIENCES=my_aud
# # keycloak server
JWT_ACCEPTED_ISSUERS=my_iss

can anyone help ASAP ?

saghul commented 7 months ago

Can you share the browser console logs?

pavankumarraju1 commented 7 months ago

can i work on this issue @RadhikBhojani

SSpormann commented 5 months ago

I am trying the same thing, has anyone been able to bring the plugin to work? We have an old configuration with jitsi 1.9 somt. that is working with the plugin. But all recent builds fail. Is there someone who can provide assistance?