diff --git a/DOC.md b/DOC.md index f7ba893..edbc2e2 100644 --- a/DOC.md +++ b/DOC.md @@ -80,21 +80,15 @@ urlpatterns = patterns('', Generate server RSA key and run migrations (if you don't). ```bash -python manage.py creatersakey -python manage.py migrate +$ python manage.py creatersakey +$ python manage.py migrate ``` Add required variables to your project settings. ```python -# You maybe have this on top of your settings.py -import os -BASE_DIR = os.path.dirname(os.path.dirname(__file__)) - - SITE_URL = 'http://localhost:8000' LOGIN_URL = '/accounts/login/' -OIDC_RSA_KEY_FOLDER = BASE_DIR ``` ## Users And Clients diff --git a/example_project/provider_app/settings.py b/example_project/provider_app/settings.py index 0978c1e..d2a28af 100644 --- a/example_project/provider_app/settings.py +++ b/example_project/provider_app/settings.py @@ -87,4 +87,3 @@ LOGIN_REDIRECT_URL = '/' # OIDC Provider settings SITE_URL = 'http://localhost:8000' -OIDC_RSA_KEY_FOLDER = BASE_DIR diff --git a/oidc_provider/tests/app/settings.py b/oidc_provider/tests/app/settings.py index 1778249..ef5f92b 100644 --- a/oidc_provider/tests/app/settings.py +++ b/oidc_provider/tests/app/settings.py @@ -56,5 +56,4 @@ TEMPLATE_DIRS = [ # OIDC Provider settings. SITE_URL = 'http://localhost:8000' -OIDC_RSA_KEY_FOLDER = os.path.dirname(__file__) OIDC_USERINFO = 'oidc_provider.tests.app.utils.FakeUserInfo'