[REQ] Use room name in mod_auth_sql.lua

Hi to all and sorry for my english.
I’m using mod_auth_sql.lua to validate username/password users, it work but I would like a better function.

Is possible to use room name in the code?
This module validate only realm, so i can enter in every room with my credentials.
I would like to use room name in the select query.
Thanks for any reply.

Looks like the module does not support that: mod_auth_sql - Prosody Community Modules

If you want per-room restrictions with auth JWT is the way to go.