Client joined even authentication failed after upgrading to version 0.11.0?

Inside RoomHandler, OnJoin should be called iff onAuth executed successfully with returning true but i am returning false but still my player able to join my room.

Is something changed in new version or it is a bug? or may be i am understood something wrong.

export class MyRoom extends Room<State>

onCreate(options: any) {

onAuth(client: Client, options: any) {
    return false;

onJoin(client: Client, options?: any, auth?: any) {
    console.log("client joined ");



Thanks for reporting @Viveksharma, this has been fixed now on colyseus@0.11.1. Cheers!

@endel thanks