Commits

Benoit Chesneau  committed a00b1ef

Automated commit message

  • Participants
  • Parent commits d837f2e

Comments (0)

Files changed (1)

File Getting_started.wiki

 On `account/register` page the user could choose to create a new user or associate this openid to a "legacy" account (one registered with username/password). If he chooses to create a new user a new instance of {{{ django.contrib.models.auth.User }}} is created with a non usable password which mean that at this step the user could only signin to your django project with its openid. He could later add a password if he wants.
 
 
+**See also**: [[http://bitbucket.org/ubernostrum/django-registration/|django-registration documentation]]  for details of legacy account registration.
 
-**See also**: [[http://bitbucket.org/ubernostrum/django-registration/|django-registration documentation]]  for details of legacy account registration.
+=== Some settings ===
+
+* OPENID_TRUST_ROOT : the root that provider should trust, by default this is your server root.
+* OPENID_DISALLOW_INAMES : disallow inames, False by default.
+* OPENID_SREG : allow you to set the sreg fields you want to ask:
+{{{
+#!python
+
+OPENID_SREG = {
+    "required": "country",
+    "optional": "fullname"
+} 
+}}}
+* OPENID_AX : allow you to ask other ax field, list of uri.
 
 === Where to go from here ===