-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmy_config_local.py
41 lines (36 loc) · 1.1 KB
/
my_config_local.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# DO NOT CHANGE IT HERE
# COPY this file into ~/.django/my_config.py
#
# Then this will serve as config for all your deployments
#
EMAIL_USE_TLS = True
EMAIL_HOST = 'smtp.yourdomain.com'
EMAIL_PORT = 587
DEFAULT_FROM_EMAIL = 'yourusername'
EMAIL_HOST_USER = 'yourhost'
EMAIL_HOST_PASSWORD = 'password$'
SECRET_KEY="yoursecret key"
ENV='local|production'
STRIPE_PUBLIC_TEST='A'
STRIPE_SECRET_TEST='A'
STRIPE_PUBLIC_LIVE='B'
STRIPE_SECRET_LIVE='B'
STRIPE_PUBLIC = STRIPE_PUBLIC_LIVE
STRIPE_SECRET = STRIPE_SECRET_LIVE
CAPTCHA_SITE = 'key'
CAPTCHA_SECRET = 'key'
EXP_STRIPE_PUBLIC = STRIPE_PUBLIC_TEST
EXP_STRIPE_SECRET = STRIPE_SECRET_TEST
# -- SIngle Sign on below
OIDC_RP_CLIENT_ID = 'your-oauth'
OIDC_RP_CLIENT_SECRET = 'jkSIDbfvK7WFkyeSEEbB91Nk0vZf5uJl2aRnkuVy'
OIDC_OP_AUTHORIZATION_ENDPOINT = 'auth_endpoint'
OIDC_OP_TOKEN_ENDPOINT = 'token_endpoint'
OIDC_OP_USER_ENDPOINT = 'user_endpoint'
OIDC_RP_SIGN_ALGO = 'RS256'
OIDC_OP_JWKS_ENDPOINT = 'jwks'
OIDC_RP_SCOPES = "openid profile email"
OIDC_RENEW_ID_TOKEN_EXPIRY_SECONDS = 15
OIDC_CREATE_USER = True
OIDC_VERIFY_SSL = True
DEFAULT_DOMAIN="http://www.example.com"