I want to enable authentication using JWT token for a user to create or join room.
Based on the jwt token elevate the access as moderator.
Can someone please help me on the same ?
You really should use the search function. There are tons of threads here providing guidance.
Here’s the official guide:
This file has been truncated.
# JSON Web Token (JWT) authentication Prosody plugin
This plugin implements a **Prosody authentication provider** that verifies a client connection based on a JWT
described in [RFC7519]. It allows use of an external form of authentication with _lib-jitsi-meet_.
Once your user authenticates you need to generate the JWT as described in the RFC and pass it to your client app.
Once it connects with a valid token, it is considered authenticated by the jitsi-meet system.
During configuration, you can choose between two JWT validation methods:
* Shared Secret Validation or
* Public Key Validation
In both cases you will need to provide the _application ID_ that identifies the client.
For the **Shared Secret Validation** an _application secret_ is shared by both the server (Prosody) and the JWT
generation. Take a look at an example structure in [Example Structure > Shared Secret Validation](#shared-secret-validation).
Like described in the RFC, the _shared secret_ is used to compute a HMAC hash value which allows authentication of the
generated token. There are many existing libraries which can be used to implement token generation. More info can be
found here: [http://jwt.io/#libraries-io]
Thanks a lot
@Freddie … I intially tried searching many such pages opened up … just wanted to ensure that i am referring to the latest version … I am completely new to this forum please help / guide if i face any issues in future … Thank for the reply !!