This is the problem Portier (https://portier.github.io/) and OIDC aim to solve, ie to be able to auth on any website with an auth instance you run.
I love this idea because it's much easier to secure one thing whose sole purpose is authentication than to secure every thing you want to authenticate on.