Earlier quoted context omitted.
Whether that solves it just depends on who you're worried about having your data. Something like OpenID would keep your identifying data away from PornHub but it would allow the OpenID provider know when you visit PornHub. For PornHub that also gives other companies, the OpenID providers, the power to censor PornHub but refusing to verify age or identity.
I dare say this would actually be even more harmful than Pornhub holding people's IDs, as it would then give OpenID immense power to track not only the fact that you watch porn, but also what other services you use as well...
I don't really want GitHub knowing everything I sign into, but in some cases like Tailscale my only option is to tell GitHub about it or not use Tailscale.