Former President Barack Obama says Americans must be vigilant in their defense of democracy or risk following the path of Nazi Germany in the 1930s.