When a new user tries to start a meeting he needs to provide username and password. And I need to register a user by this command manually
“sudo prosodyctl register username domain password”.
is there any way to make it automatic??
emrah
January 10, 2023, 8:17am
2
Do you want to let anyone to register themself to your Jitsi?
@emrah No.
I have a website. Whenever a user register in my website i only want to give them the jitsi server user_name and password with their registration confirmation email.
emrah
January 10, 2023, 9:43am
4
Then the token
authentication might be better for your use case.
# 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]
This file has been truncated. show original
1 Like
Hello @emrah !
I have run the following command and got the following error. how to fix this??
root@meet:~/src# luarocks unpack lua-cjson-2.1.0.6-1.src.rock
Error: Failed unzipping rock lua-cjson-2.1.0.6-1.src.rock
emrah
January 11, 2023, 5:39pm
6
You don’t need this command. It was for an old version of Jitsi.
For the current version, you only need
apt-get install jitsi-meet-tokens
1 Like
I’ve followed this guide and got these problem.
INTRODUCTION
Reading time: 6 min read
Can please help me installing it?
@emrah
currently I’m having these issue and i don’t have any clue how to solve this.
@damencho @emrah Please help me.
Check prosody and jicofo logs.
Clear prosody log, restart prosody and upload log here.
1 Like
Thank You @damencho & @emrah for your help, I’ve successfully installed it.
I am using jwt for authentication, but when i relod the page it shows me a pop up authentication required (user_identifier and password). I don’t want to see this pop up. how to disable it?