Context: In many usual categories, surjective morphisms and epimorphisms are one and the same. Clearly in Set, but also in Ab, in Grp and FinGrp (although it is not obvious), in A-Mod, in CHaus, etc. But this isn't true in the category of rings since the inclusion map $\mathbb{Z}\to\mathbb{Q}$ is an epimorphism without being surjective. More generally, localization maps $A\to S^{-1}A$ are always epimorphisms but may fail to be surjective if $S$ has a non-unit that is not a zero divisor. For a while epimorphisms of rings seemed intangible to me but there's one result, which we discuss below, that makes it seem very concrete to me.
Let $f:A\to B$ be a morphism of rings. It is true that $f$ is surjective if and only if it is an epimorphism and is finite. A proof can be found in the tag 04VT of the Stacks Project.
There, Johan de Jong says that this result "seems to have been reproved many times in the literature, and has many different proofs". Nevertheless, searching the usual commutative algebra books I didn't found any proofs of this result. I would like to know where I can find other proofs of this result.