I’m trying to have my application automatically create the meeting room if it doesn’t yet exist. My application server provides a login/pass to the client as needed for doing this. Is there any way that I can pass the password as well as the email in the userInfo option in order to initialize the meeting room via the iFrame API automatically? If not, what it the best way for me to go about doing this. I need to have meeting rooms created by users that do not know logins to my Jitsi Meet instance. Their accounts in my application do know a login to the server, hence why I want the iFrame API to be able to take care of this automatically when it does the rest of the initializing. Currently, when I try to load up a meeting and it doesn’t exist yet it shows me this:
How can I use the iFrame API to not just join a room, but create it? Additionally, the user that creates these rooms always needs to have moderator power, which is another reason I want to be able to authenticate them with their account rather than just with a nickname.
I have tried to get JWT working, and I have run into countless issues in the process of trying to set that up, such as getting this when trying to install jitsi-meet-tokens
I appreciate the help. Based on your response I assume that I pretty much have to use JWT to do what I want to do? Is there any way to use the iFrame API to log in with a username/password?
IIUC you have already an authentication system in your main web application. So you don’t need a second login step for Jitsi, you can pass the credential using JWT to Jitsi.
You can put username, email, avatar etc to the token.
Correct, but I want to stop someone from being able to go to my.jitsidomain.com and creating their own rooms willy-nilly. If they are able to log into my main web applications, I inherently trust them with a login to Jitsi.
After it goofed up the first time, in my attempts to fix it I managed to utterly break the rest of my prosody configuration, so I restored my server to an earlier version entirely. There was no trace of jitsi-meet-token on my system before I ran that command.