Remove old OIDC_RSA_KEY_FOLDER setting from example project and tests.

This commit is contained in:
juanifioren 2016-01-25 18:01:54 -03:00
parent 449dd54be9
commit 32555eb660
3 changed files with 2 additions and 10 deletions

10
DOC.md
View file

@ -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

View file

@ -87,4 +87,3 @@ LOGIN_REDIRECT_URL = '/'
# OIDC Provider settings
SITE_URL = 'http://localhost:8000'
OIDC_RSA_KEY_FOLDER = BASE_DIR

View file

@ -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'