forked from agiliq/Django-Socialauth
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlocalsettings.example.py
33 lines (22 loc) · 971 Bytes
/
localsettings.example.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
OPENID_REDIRECT_NEXT = '/accounts/openid/done/'
OPENID_SREG = {"requred": "nickname, email",
"optional":"postcode, country",
"policy_url": ""}
#example should be something more like the real thing, i think
OPENID_AX = [{"type_uri": "http://axschema.org/contact/email",
"count": 1,
"required": True,
"alias": "email"},
{"type_uri": "http://axschema.org/schema/fullname",
"count":1 ,
"required": False,
"alias": "fname"}]
TWITTER_CONSUMER_KEY = ''
TWITTER_CONSUMER_SECRET = ''
FACEBOOK_API_KEY = ''
FACEBOOK_SECRET_KEY = ''
AUTHENTICATION_BACKENDS = ('django.contrib.auth.backends.ModelBackend',
'socialauth.auth_backends.OpenIdBackend',
'socialauth.auth_backends.TwitterBackend',
'socialauth.auth_backends.FacebookBackend',
)