1.2.3.4.5.6.
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='...', url = "http://localhost:8000/%s/default/user/login" % request.application)
The first line imports the new login method, the second line disables local registration, and the third line asks web2py to use the RPX login method.