It's no different than any other "build vs buy" decision. If you think you can provide your core offering AND implement complex authentication requirements half as well as a dedicated authentication-SaaS company, good luck. Businesses "buy" because it's the low-risk path.