In the janrain configuration page there is a list of allowed domains.
You did not list

http://www.em-ecommmerce.com

On Nov 24, 2:13 pm, Andrew Evans <[email protected]> wrote:
> Figured I would start a different post for this :-)
>
> Don't know if there is a problem in my Janrain account or if it exists in
> web2py
>
> but I get the following error
>
> token_url domain not in whitelist
>
> my domains are set in janrain towww.em-ecommerce.comandwww.suck-o.de
>
> and my code is like this
>
> 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='em',
>     url = "http://www.em-ecommmerce.com/%s/default/user/login"; %
> request.application)
>
> any ideas as to the error
>
> *cheers

Reply via email to