Lü Dongbin
The text of "The Secret of the Golden Flower" is attributed to Lü Dongbin of the late Tang dynasty.