reason is a valid reason:
bad_json - auth returned a bad JSON - usually out of your control, check console for errorsfirebase_no_credentials - you did not pass a valid email or passwordfirebase_no_token - firebase didn't return an ID token, check console for infofirebase_too_many_retries - attempting to get auth info failed over 5 timesservices_closed_early - the game websocket closed before sending back auth info - usually out of your controlunknown_socket_error - the websocket itself errored, usually out of your controlbot.on('authFail', (reason) => {
console.log('ah, shoot. auth failed with reason', reason);
});
reason is a valid reason:
bad_json - auth returned a bad JSON - usually out of your control, check console for errorsfirebase_no_credentials - you did not pass a valid email or passwordfirebase_no_token - firebase didn't return an ID token, check console for infofirebase_too_many_retries - attempting to get auth info failed over 5 timesservices_closed_early - the game websocket closed before sending back auth info - usually out of your controlunknown_socket_error - the websocket itself errored, usually out of your controlbot.on('authFail', (reason) => {
console.log('ah, shoot. auth failed with reason', reason);
});