ya Mr. massimo...now i register 127.0.0.1 ip address on janrain and also
replace localhost with ip address but still the same problem is occur.

When i login its redirect to rpxnow.com with key...but after that it again
shows the same login screen.
*Thanks regards,*
*Sonu Kumar Srivastava*
*Trainee*
*8955199189*
*www.zero-group.com* <http://www.zero-group.com>



On Tue, Apr 10, 2012 at 7:06 PM, Massimo Di Pierro <
massimo.dipie...@gmail.com> wrote:

> Why are you unable to login? Does it ask you a password? Try replace
> localhost with 127.0.0.1. Did you register this IP with Janrain?
>
> On Tuesday, 10 April 2012 00:28:52 UTC-5, Sonu Srivastava wrote:
>>
>> for using multiple signin i am register with rpxnow.com and create app
>> and use the key in our web2py application bt i m unable to login...plz help
>> me...i use below code for it
>>
>> import os
>> from gluon.contrib.login_methods.**rpx_account import RPXAccount
>> # we disable actions that will be provided by Janrain, not auth
>> auth.settings.actions_disabled = ['register','change_password',**
>> 'request_reset_password']
>> # we read the key frm a file because we want to keep it private
>> api_key =open(os.path.join(request.**folder,'private','janrain_api_**
>> key.txt'),'r').read().strip()
>> # we connect auth to janrain
>> auth.settings.login_form = RPXAccount(request, api_key=api_key,domain='**
>> web2py',
>>     url = "http://localhost:8000/%s/**default/user/login"; %
>> request.application)
>>
>

Reply via email to