Actually, embed=False works fine. I think the problem was on my end.

On Jul 15, 8:35 pm, "mr.freeze" <nat...@freezable.com> wrote:
> Two other issues:
> When embed=False, the link doesn't work (I am investigating why).
> Also, I don't think you should have to click another link when
> embed=False. It should just show the overlay.
>
> On Jul 15, 7:21 pm, "mr.freeze" <nat...@freezable.com> wrote:
>
> > Nice. One small issue on the Facebook mapping. First and last name are
> > under the profile's 'name' key so it throws and error. Just need to
> > change these two:
> > first_name = profile["name"]["givenName"],
> > last_name = profile["name"]["familyName"]
>
> > After that I was able to login to Google, Yahoo and Facebook. Now I
> > just need to figure out how to migrate web2pyslices accounts to this!
>
> > On Jul 15, 6:36 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > > P.S. You can also try the nightly built 
> > > fromhttp://web2py.com/examples/static/download
>
> > > On 15 Lug, 18:31, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > > > I have integrated Mr Freeze RPX API into web2py (trunk only).
>
> > > > Take your existing app and at the bottom of db.py (or after you define
> > > > auth) add
>
> > > >     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)
>
> > > > WHERE you can get and api_key and domain by registering (for free) 
> > > > athttps://rpxnow.com
> > > > you choose the domain (has to be unique) and they give you the
> > > > api_key.
> > > > The url is the URL of the login page itself as visible to your
> > > > visitors.
>
> > > > If you do not define your own db.auth_user table this is all you need.
> > > > If you define your own table, add a new field to it:
>
> > > >     Field('registration_id', length=512,writable=False,
> > > > readable=False, default='')
>
> > > > Then visit the login page and viola' you can login with OpenID,
> > > > Google, etc etc. You can add UP to 6 methods for free using the
> > > > rpxnow.com interface. For more methods, you need to pay (I am not
> > > > affiliated with them and I get no profit but I like their system)
>
> > > > PLEASE TRY IT AND REPORT ANY PROBLEM.
>
> > > > I would like to release 1.81.1 with this tomorrow so I can show it at
> > > > EuroPython Saturday.
>
> > > > Massimo

Reply via email to