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 user. This is the content in
rpxauth.py corresponding to Google and Yahoo (I tried copying Google's
mappings for Facebook, but it just creates null entries in the table):
self.mappings.Google= dict(identifier="identifier",
username="preferredUsername",
email="email",
first_name="givenName",
last_name="familyName")
self.mappings.Yahoo = dict(identifier="identifier",
username="preferredUsername",
email="email",
first_name="formatted",
last_name="formatted")
On Jul 15, 2:41 pm, mdipierro <[email protected]> wrote:
> I ma be mistaken but rpxauth outsources autentication to rpx
> (nowhttp://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 <[email protected]> wrote:
>
>
>
> > Hi,
> > Has anyone created mapping for Facebook on rpxauth? If so, please do
> > share. (I see mappings for Yahoo and Google already in the version
> > I've downloaded.)
>
> > --
> > Thanks
> > Narendran