Unauthorised token users

Hi,

I’m writing my own token authentication module, to access a particular room, the host or sometimes participants send out tokens in the query params. After getting the token in the auth module, if I send out a response as false, not-authorized, unauthorized as return value from the token auth module[ie local result, err, msg = self.profile.anonymous(self, username, self.realm);], the client shows authentication failed. Instead can he be put in the same waiting room as others?

@damencho

Thanks,
Lohith