Set moderator in Jitsi

I am following iframe API - IFrame API · Jitsi Meet Handbook and looking for an option to set moderator in a call. Currently in Jitsi, whoever joins the call first is automatically set as moderator. I want the second person who joins the call to be the moderator. Is there a way to do this?

You may use the JWT authentication with the token_affiliation module

Can it be done without using JWT? We can set a password prompt and if the right password is entered, then that participant’s ID is set to moderator. Just an idea.

AFAIK the first participant will be moderator in this case

I don’t understand - are you not hosting your own server? If you are, why not implement secure domain?