Thread:Project:Support desk/Need help setting up unified login process/reply (2)

Have you read AuthPlugin?

Also Category:User_identity_extensions lists some similar extensions which may be useful to look at as a starting point.