[web2py] Re: Facebook on rpxauth

2010-07-15 Thread Narendran
Hello Mr. Freeze, It works now :). Not sure what went wrong last time when I tried with this mapping, it made all null entries in the table. On Jul 15, 5:09 pm, "mr.freeze" wrote: > This works for me and creates entries in my db: > -- > Model > -- > rpx = local_import('rpxauth') >

[web2py] Re: Facebook on rpxauth

2010-07-15 Thread mr.freeze
This works for me and creates entries in my db: -- Model -- rpx = local_import('rpxauth') rpxAuth = rpx.RPXAuth(auth) rpxAuth.embed = True #rpxAuth.allow_local = True rpxAuth.api_key = "..." rpxAuth.realm = "web2pyslices" rpxAuth.token_url = "http://localhost:8000/rpxauth/default/us

[web2py] Re: Facebook on rpxauth

2010-07-15 Thread Narendran
Hi Massimo, I have done that. And Facebook login does work well. But I also want an entry in my auth table for each registered user. This, I assume happens only if you have mappings like these in rpxauth.__init__. Right now, I see entries created in the table for a Google user, but not a Facebook

[web2py] Re: Facebook on rpxauth

2010-07-15 Thread mdipierro
I ma be mistaken but rpxauth outsources autentication to rpx (now http://www.janrain.com/) and they do support facebook. I am not sure there is any need to modify the code, just add "facebook" to list of authentication methods you wish to use. On 15 Lug, 04:32, Narendran wrote: > Hi, > Has anyone