After spending hours and 5 reinstall here is what worked.
Authentication for Jisti-meet is done through the program ‘Prosody’. By configuring these settings only users created by prosodyctl will be able to access Jitsi-meet sessions.
-Install jigasi which which is an application that assist with authentication in Jitsi-meet
sudo apt-get install jigasi -y
-Edit the prosody configuration file for your server at /etc/prosody/conf.avail/YOUR-SERVER-HOSTNAME.cfg.lua.
sudo vim /etc/prosody/conf.avail/YOUR-SERVER-HOSTNAME.cfg.lua
-Locate the virtual host with your hostname(should be at the top of the file) and change authentication options to “internal_plain”. It should look like this afterwards.
authentication = “internal_plain”
-Once this is done, write and save the file. In vim you type “:wq” then press “Enter”
-In jicofo you need to specify your domain in the additional configuration property. Jicofo will only accept conference requests from authenticated domains. Add your domain with the following command.
sudo cat “org.jitsi.jicofo.auth.URL=XMPP:YOUR-SERVER-HOSTNAME” >> /etc/jitsi/jicofo/sip-communicator.properties
-Create user using prosodyctl. This is where we create users that will sign into Jitsi-meet.
sudo prosodyctl register USERNAME YOUR-SERVER-HOSTNAME PASSWORD
-Restart the server
sudo shutdown now -r