[web2py] Re: Get User [auth_user] Janrain

2010-12-09 Thread RyaneD
You need to add your domain to the token_url whitelist which you can find on janrain.com under deployment > domains and settings. If you are working locally try adding 'localhost' if you are working from a webdomain that is already hosted try adding that domain's name. On the offchance that you a

Re: [web2py] Re: Get User [auth_user] Janrain

2010-11-24 Thread Andrew Evans
Hello I solved my error by adding auth.define_tables() to the mix Janrain loads as expected except when I try to login. Any idea how to solve this issue, I get the following error Invalid argument: token_url domain not in whitelist

Re: [web2py] Re: Get User [auth_user] Janrain

2010-11-24 Thread Andrew Evans
Hello ty for the reply I created the auth_user table but now I get this error when I try to access my login area any ideas *cheers Traceback (most recent call last): File "/home/www-data/web2py/gluon/restricted.py", line 188, in restricted exec ccode in environment File "/home/www-data/

[web2py] Re: Get User [auth_user] Janrain

2010-11-24 Thread mdipierro
I think you are missing auth.define_tables() somewhere On Nov 24, 12:44 am, Andrew Evans wrote: > Hello I just set up Janrain using the following > > from gluon.contrib.login_methods.rpx_account import RPXAccount > auth.settings.actions_disabled=['register','change_password','request_reset_passwo

[web2py] Re: Get User [auth_user] Janrain

2010-11-24 Thread Andrew Evans
Ok I have gone full circle now How can I get values from janrain into my code? This does not work! db.define_table('user_extended', Field('userinfo', db.auth_user, default=auth.user_id, readable=False, writable=False,unique=True), I need to change the db.auth_user value but to what? I have r

[web2py] Re: Get User [auth_user] Janrain

2010-11-24 Thread Andrew Evans
Ok I have gotten a bit further. I think form what I can tell I still need to define my auth table now I am getting an error Traceback (most recent call last): File "/home/www-data/web2py/gluon/restricted.py", line 188, in restricted exec ccode in environment File "/home/www-data/web2py/ap