Remove old OIDC_RSA_KEY_FOLDER setting from example project and tests.
This commit is contained in:
parent
449dd54be9
commit
32555eb660
3 changed files with 2 additions and 10 deletions
10
DOC.md
10
DOC.md
|
@ -80,21 +80,15 @@ urlpatterns = patterns('',
|
||||||
Generate server RSA key and run migrations (if you don't).
|
Generate server RSA key and run migrations (if you don't).
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
python manage.py creatersakey
|
$ python manage.py creatersakey
|
||||||
python manage.py migrate
|
$ python manage.py migrate
|
||||||
```
|
```
|
||||||
|
|
||||||
Add required variables to your project settings.
|
Add required variables to your project settings.
|
||||||
|
|
||||||
```python
|
```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'
|
SITE_URL = 'http://localhost:8000'
|
||||||
LOGIN_URL = '/accounts/login/'
|
LOGIN_URL = '/accounts/login/'
|
||||||
OIDC_RSA_KEY_FOLDER = BASE_DIR
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Users And Clients
|
## Users And Clients
|
||||||
|
|
|
@ -87,4 +87,3 @@ LOGIN_REDIRECT_URL = '/'
|
||||||
# OIDC Provider settings
|
# OIDC Provider settings
|
||||||
|
|
||||||
SITE_URL = 'http://localhost:8000'
|
SITE_URL = 'http://localhost:8000'
|
||||||
OIDC_RSA_KEY_FOLDER = BASE_DIR
|
|
||||||
|
|
|
@ -56,5 +56,4 @@ TEMPLATE_DIRS = [
|
||||||
# OIDC Provider settings.
|
# OIDC Provider settings.
|
||||||
|
|
||||||
SITE_URL = 'http://localhost:8000'
|
SITE_URL = 'http://localhost:8000'
|
||||||
OIDC_RSA_KEY_FOLDER = os.path.dirname(__file__)
|
|
||||||
OIDC_USERINFO = 'oidc_provider.tests.app.utils.FakeUserInfo'
|
OIDC_USERINFO = 'oidc_provider.tests.app.utils.FakeUserInfo'
|
||||||
|
|
Loading…
Reference in a new issue