The baryon vertex with magnetic flux