Thread:Project:Support desk/External login (2)/reply

See User identity extensions for several extensions that you can use as examples.