Hi,
I´m having the same problem. The whilw atuh is working fine, except for
plugin_wiki.
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='...',
domain='condomniovip',
language=request.vars._language or session._language,
url = "http://localhost:8000/%s/default/user/login" %
request.application)
Thanks in advance.
Em terça-feira, 21 de junho de 2011 17h06min09s UTC-3, Massimo Di Pierro
escreveu:
>
> I assume you created your own janrain account. Did you register the
> domain "davidwatson.local" with janrain? BTW "davidwatson.local" is
> not a valid domain name.
>
> On Jun 21, 1:30 pm, David Watson <[email protected]> wrote:
> > I uncommented and edited the janrain code on a freshly installed
> > version of cube2py with the latest web2py on ubuntu lucid. All four of
> > the logins work; however, all 3 but google fail after they get back to
> > cube2py as follows:
> >
> > If I try to go here:
> >
> > http://davidwatson.local/cube2py/plugin_wiki/page/home
> >
> > I get 404 not found.
> >
> > If I try to go here:
> >
> > http://davidwatson.local/cube2py/plugin_wiki/
> >
> > I get forwarded here:
> >
> > http://davidwatson.local/cube2py/default/user/not_authorized
> >
> > with:
> >
> > Insufficient privileges
> > Not authorized
> > ACCESS DENIED
> >
> > What's interesting is that in each of the 3 failing cases, the logout
> > and profile buttons show up and work, meaning that web2py clearly
> > realizes a successful login, which makes me wonder if the problem is
> > in cube2py.
> >
> > Any ideas?
> >
> > Thanks,
> > David