on 0.py try something like this

settings.login_method = 'janrain'
settings.login_config = 'teste:a33eb64c93717b9e34d7ab018563c91a15f1baa2'
settings.plugins = []

where teste is your domain on janrain (to get that,k you need to
signup janrain engage - http://janrain.com/products/engage/ ). And the
combination of letters and numbers after that, is your key (that
you'll also get from jainrain).

A very simple way to do it is: create your account at janrain, get
that data (domain/key), and create an app with that info using web2py
assistant (for new apps). On authentication you choose janrain instead
of local. and paste that info (domain/key).

Using the new application wizard or doing it by yourself, either way is simple.

At the end you'll have something like this:

http://saiadarede.com.br/cadastro/default/user/login

Depending on what you choose at Janrain's site, you can change that a bit.

I hope that help you a bit...

C'ya

2012/10/26 Simon Carr <simonjc...@gmail.com>:
> Hi All,
>
> I am trying to get Janrain work. I have signed up for a free account on
> their site.
>
> Here is my model code.
>
> ## if you need to use OpenID, Facebook, MySpace, Twitter, Linkedin, etc.
> ## register with janrain.com, write your domain:api_key in
> private/janrain.key
> from gluon.contrib.login_methods.rpx_account import use_janrain
> use_janrain(auth,filename='https://simoncarr.rpxnow.com/:<MY API KEY>')
>
> I have also tried using just simoncarr as the domain. I have changed nothing
> else in my model other than defining a few tables.
>
> When I click login or register, I am just taken to the normal web2py auth
> login/register Form.
>
> Is there something else I am supposed do?
>
> Thanks
> Simon
>
> --
>
>
>



-- 
[]'s
Marco Tulio

-- 



Reply via email to