I can't find the `embed=True` or `embed=False' setting in any of my files.
Is it in 1.81.1?

On Fri, Jul 16, 2010 at 10:36 AM, mdipierro <mdipie...@cs.depaul.edu> wrote:

> Do you use embed=True or False?
>
> On 16 Lug, 02:15, mat -- <mat...@gmail.com> wrote:
> > After commenting out the new code at the bottom of db.py in order to
> enable
> > OpenID and adding an API key and domain,
> > I can as a result see the OpenID logo in the welcome page when clicking
> the
> > login link.
> >
> > However, when I enter my OpenID username, it goes through the login
> process,
> > but eventually comes back to the Welcome login screen (with OpenID)
> without
> > login me and without any error message.
> >
> > This happens when testing on both trunk and 1.81.1 on local linux
> machine.
> >
> > Am I missing something?
> >
> >
> >
> > On Fri, Jul 16, 2010 at 6:26 AM, mr.freeze <nat...@freezable.com> wrote:
> > > Okay, I sent you a patch to fix the Facebook mapping and also to show
> > > the login prompt automatically when embed=False.
> >
> > > On Jul 15, 9:52 pm, "mr.freeze" <nat...@freezable.com> wrote:
> > > > 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
> >
> > --
> > Mat
>



-- 
Mat

Reply via email to