Erich Fromm
The psychologist and philosopher Erich Fromm wrote about the psychological motivation behind political ideology, starting with "The Fear of Freedom" in 1941.