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

See for several extensions that you can use as examples.