How complex is it to plug an external auth provider

I recently posted about this in another thread as well.
It may help to understand what could be done with Ghost code as of now.