Using bottle.py as a Facebook authenticating proxy
I haven't actually tested this, so far just assembling bits and pieces that ought to work together.
How to make bottle.py into a proxy server:
Making a Bottle app that routes to a proxy
How to make bottle.py authenticate via Facebook:
sean-lynch/bottle_fbauth · GitHub
Underlying python library for the Facebook authentication: