Modular synthesis of 1,2-diamine derivatives by palladium-catalyzed aerobic oxidative cyclization of allylic sulfamides.