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