Disclosed are compounds of the general formula (I), wherein R1-R3 are as defined herein, for use as MALT1 inhibitors in the treatment of autoimmune and inflammatory diseases or disorders. Methods of synthesizing the compounds are also disclosed. Also disclosed are pharmaceutical compositions containing a compound of the invention and a method of treating a patient for an autoimmune or an inflammatory disease or disorder, for example, a cancer, by administering a compound of the invention.