Thanks. I'm trying to figure out how to build a "unified login" so that users don't have to re-setup everything on each platform/ container.
I'm thinking about setting up a master "users" table that can support username/email/password authentication as well as one OpenID url and one Facebook app per user. Each user will also have many OpenSocial identities. ### users (*all fields optional) ### id username email password openid_url facebook_id facebook_session ### users_opensocials ### id user_id opensocial_environment opensocial_id The problem gets tricky when an existing user (whether having a password or on another opensocial container) arrives on a new container. I'm not sure to sync the new user with their other account(s). This problem is compounded if supporting multiple OpenIDs and/or multiple Facebook apps per user. Is anyone else trying to tackle this problem? Any insight would be greatly appreciated. On Apr 29, 10:58 am, "Arne Roomann-Kurrik" <[EMAIL PROTECTED]> wrote: > No, the Person ID numbers are only unique within each container. > Fromhttp://code.google.com/apis/opensocial/docs/0.7/spec.html: > > "One of the pieces of data that is always returned with a Person object is > the user's ID. The user ID must be alphanumeric (A-Za-z0-9) and must > uniquely identify the user in a container. This standardization is intended > to allow for prefixing IDs with a domain name and separator to create > globally unique IDs (e.g. "orkut.com:34KJDCSKJN2HHF0DW20394"). Note that > there will likely be a size limit placed on user IDs to help manage storing > IDs in a database." > > Hope this helps, > ~Arne > > On Tue, Apr 29, 2008 at 10:49 AM, Sav <[EMAIL PROTECTED]> wrote: > > > Are the Person IDs unique or are they only unique within the > > Environment domain? > > > opensocial.Person.getId() > > Gets an ID that can be permanently associated with this person. > > > opensocial.Environment.getDomain() > > Returns the current domain — for example, "orkut.com" or > > "myspace.com". > > -- > OpenSocial IRC - irc://irc.freenode.net/opensocial --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "OpenSocial Application Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/opensocial-api?hl=en -~----------~----~----~----~------~----~------~--~---
