Not the same commenter, but I use the SimpleLogin service (and I liked it enough that I’ve been a paid user for a couple years), which is FOSS and can be self-hosted. I have not tested out self-hosting myself but there are detailed instructions in the repo.