I would like to use Google Sites to create a membership web site, where somebody could come to the public landing page and then sign in with Google or Facebook (e.g. using OpenID) and then get access to protected pages.
Are there any open-source applications or tutorials or libraries which can help make this possible? If not, can anybody explain how to do this?