SSO Login on a controller

I would like to know if anyone have been able to use an external SSO authentication with something other than ? I would like to implement login using Okta on my controllers.

Otherwise, is there any documentation that exists on how I could create my own identity provider that I could link with Okta ?