Please read OIX Member, Ubisecure’s Whitepaper entitled:

Build vs Buy – Finding the right approach to Customer Identity & Access Management (CIAM)