root / snf-astakos-app / conf / 20-snf-astakos-oa2-app-settings.py @ f77fa71d
History | View | Annotate | Download (455 Bytes)
1 |
#OAUTH2_USER_MODEL = 'auth.User'
|
---|---|
2 |
#
|
3 |
#OAUTH2_ENDPOINT_PREFIX = 'oa2/'
|
4 |
#
|
5 |
#OAUTH2_TOKEN_ENDPOINT = 'token/'
|
6 |
#
|
7 |
#OAUTH2_AUTHORIZATION_ENDPOINT = 'auth/'
|
8 |
#
|
9 |
## Set the length of newly created authorization codes to 60 characters
|
10 |
#OAUTH2_AUTHORIZATION_CODE_LENGTH = 60
|
11 |
#
|
12 |
## Set the length of newly created access tokens to 30 characters
|
13 |
#OAUTH2_TOKEN_LENGTH = 30
|
14 |
#
|
15 |
## Set the expiration time of newly created access tokens to 20 seconds
|
16 |
#OAUTH2_TOKEN_EXPIRES = 20
|