I followed this guide to install jitsi in my development environment on localhost (Windows 10):
https://jitsi.github.io/handbook/docs/devops-guide/devops-guide-docker
I only modified the following entries in .env file, to test jwt with iFrame API:
# Enable authentication
ENABLE_AUTH=1
# Enable guest access
ENABLE_GUESTS=1
# Select authentication type: internal, jwt, ldap or matrix
AUTH_TYPE=jwt
# JWT authentication
#
# Application identifier
JWT_APP_ID=my_jitsi_app_id
# Application secret known only to your token generator
JWT_APP_SECRET=my_jitsi_app_secret
Now I would like to use iFrame API with the local installation, but I do not know which domain I should use:
window.onload = () => {
const domain = 'meet.jit.si';
const api = new JitsiMeetExternalAPI(domain , {
roomName: "my_jitsi_app_id/sampleroom",
parentNode: document.querySelector('#jaas-container'),
jwt: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjb250ZXh0Ijp7InVzZXIiOnsiYXZhdGFyIjoiaHR0cHM6Ly9yb2JvaGFzaC5vcmcvam9obi1kb2UiLCJuYW1lIjoiSm9obiBEb2UiLCJlbWFpbCI6Impkb2VAZXhhbXBsZS5jb20ifX0sImF1ZCI6ImxvY2FsaG9zdCIsImlzcyI6Im15X2ppdHNpX2FwcF9pZCIsInN1YiI6ImxvY2FsaG9zdCIsInJvb20iOiIqIiwiaWF0IjoxNjg0MjQ2MzU5LCJleHAiOjE2ODQyNTM1NTksIm5iZiI6MTY4NDI0NjM1NH0.NaeOf_wRChGpsHNnjuTvn3E12nrgDltK9rFUGQOegp4"
});
}
I get the error “Sorry, you are not allowed to join this call” , but I guess this happens because I am not connecting to my localhost docker installation. What should I use as domain?