Different authentication methods

Hi, I’m configuring a meet server and I’m trying to use two different authentication methods, without success. I’ve succefully configured token authentication, but I want to let only users registred in prosody create new rooms (I’ve managed to do that using internal_hash authenticatin) but also request guest users to authenticate using JWT tokens. Is that possible?
When I activate internal_hash configuration and try to enter a room using a JWT I get a ‘authentication failed’, on chrome console I see a message about needed password.
I’ve setup internal_hash authentication to my main domain and token authentication to may guests domain.