From 7487683460e1918b4cb927c13e77f5ced24ef390 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jul 12 2016 09:29:43 +0000 Subject: Improve the instructions in the README for OpenID-Connect --- diff --git a/README.rst b/README.rst index d896932..499e7e3 100644 --- a/README.rst +++ b/README.rst @@ -51,10 +51,19 @@ Configure the project to authenticate against iddev.fedorainfraclouid.org:: oidc-register --debug https://iddev.fedorainfracloud.org/ http://localhost:5000 +Replace httplib2's own ca cert file (to adjust as needed):: + + cp /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem + ~/.virtualenvs/hubs/lib/python2.7/site-packages/httplib2/cacerts.txt + +Create a local configuration file:: + + echo "OIDC_ID_TOKEN_COOKIE_SECURE = False" > config + With that, try running the app with:: $ python populate.py # To create the db - $ python runserver.py # To run the dev server + $ python runserver.py -c config # To run the dev server with our local conf And then navigate to http://localhost:5000/