Revision fe7d0186 snf-astakos-app/conf/20-snf-astakos-oa2-app-settings.py
b/snf-astakos-app/conf/20-snf-astakos-oa2-app-settings.py | ||
---|---|---|
1 |
#USER_MODEL = get_setting('USER_MODEL', 'auth.User')
|
|
1 |
#OAUTH2_USER_MODEL = 'auth.User'
|
|
2 | 2 |
# |
3 |
#ENDPOINT_PREFIX = get_setting('ENDPOINT_PREFIX', 'oa2/')
|
|
3 |
#OAUTH2_ENDPOINT_PREFIX = 'oa2/'
|
|
4 | 4 |
# |
5 |
#TOKEN_ENDPOINT = get_setting('TOKEN_ENDPOINT', 'token/')
|
|
5 |
#OAUTH2_TOKEN_ENDPOINT = 'token/'
|
|
6 | 6 |
# |
7 |
#AUTHORIZATION_ENDPOINT = get_setting('AUTHORIZATION_ENDPOINT', 'auth/')
|
|
7 |
#OAUTH2_AUTHORIZATION_ENDPOINT = 'auth/'
|
|
8 | 8 |
# |
9 | 9 |
## Set the length of newly created authorization codes to 60 characters |
10 |
#AUTHORIZATION_CODE_LENGTH = get_setting('AUTHORIZATION_CODE_LENGTH', 60)
|
|
10 |
#OAUTH2_AUTHORIZATION_CODE_LENGTH = 60
|
|
11 | 11 |
# |
12 | 12 |
## Set the length of newly created access tokens to 30 characters |
13 |
#TOKEN_LENGTH = get_setting('TOKEN_LENGTH', 30)
|
|
13 |
#OAUTH2_TOKEN_LENGTH = 30
|
|
14 | 14 |
# |
15 | 15 |
## Set the expiration time of newly created access tokens to 20 seconds |
16 |
#TOKEN_EXPIRES = get_setting('TOKEN_EXPIRES', 20) |
|
16 |
#OAUTH2_TOKEN_EXPIRES = 20 |
Also available in: Unified diff