Validate room name

We would like to validate the supplied room name on our app server. It seems like the tokenAuthUrl setting could be useful for this but we are having trouble making it work. JWT tokens seems like overkill since we don’t care about validating the users, just the room name. Can you offer some guidance?