On Tuesday, August 2, 2011 8:12:01 AM UTC-4, Matthew wrote: 
>
> Thank you! That bit of code was the key. 
>
> The wizard definitely does NOT work. I had to manually copy/paste this 
> code into db.py to get it working.

 
Are you saying that in Step 1 of the wizard you selected Janrain as the 
login method and specified a login_config but did not get the following code 
inserted into your db.py file:
 
from gluon.contrib.login_methods.rpx_account import RPXAccount
auth.settings.actions_disabled=['register','change_password','request_reset_password']
auth.settings.login_form = RPXAccount(request,
    api_key = settings.login_config.split(':')[-1],
    domain = settings.login_config.split(':')[0],
    url = "http://%s/%s/default/user/login"; % 
(request.env.http_host,request.application))
 
 
This works when I try it. What version of web2py are you using? Or was there 
some other problem?
 

>
> Can you point me in the right direction of the wizard's files so I can 
> take a look at fixing this bug?

 
The wizard is part of the 'admin' application in 
/web2py/applications/admin (
http://code.google.com/p/web2py/source/browse/#hg%2Fapplications%2Fadmin). 
There is a wizard.py controller (
http://code.google.com/p/web2py/source/browse/applications/admin/controllers/wizard.py)
 
and a couple views (
http://code.google.com/p/web2py/source/browse/applications/admin/#admin%2Fviews%2Fwizard
).
 

> Also, what's the best way to 
> contribute to the documentation? I'd like to point out that "domain" 
> is not actually the full domain as defined by Janrain's documentation, 
> but your domain's application name.

 
You can submit requests for documentation changes/corrections here.
 
Anthony

Reply via email to