2007-11-24 | paulb | raw annotate files changeset graph | [project @ 2007-11-24 01:38:44 by paulb] Made distinct packages for the OpenIDLogin and SimpleWithOpenID examples. |
1 #!/usr/bin/env python 2 3 from WebStack.Adapters.BaseHTTPRequestHandler import deploy 4 from SimpleWithOpenID import get_site_map 5 6 app_url = "http://localhost:8080" # No trailing "/"! 7 initiation_url = "http://localhost:8080/login" 8 secret_key = "horses" # Must match the login authenticator's key. 9 10 resource = get_site_map(app_url, initiation_url, secret_key) 11 12 print "Serving..." 13 deploy(resource, handle_errors=0) 14 15 # vim: tabstop=4 expandtab shiftwidth=4