Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anonymous Users In An OpenSocial Container #1288

Open
mmarum-sugarcrm opened this issue Jun 5, 2013 · 0 comments
Open

Anonymous Users In An OpenSocial Container #1288

mmarum-sugarcrm opened this issue Jun 5, 2013 · 0 comments

Comments

@mmarum-sugarcrm
Copy link
Member

Original author: [email protected] (May 09, 2012 00:00:14)

The social specs (data, server, gadget) does not have enough definition around how the social APIs should work when the user is not authenticated with the container. The only mention of this scenario is in section 2.1.1.1 of the Social Server API Spec.

"If the User-Id is set to -1, the value for the anonymous user MUST be returned. The value for the name and nickname fields can either be blank or set to an appropriate value such as 'Guest', 'Anonymous', etc."

The spec is ambiguous around other social API use cases.

What happens is a gadget call osapi.people.getViewer? Is the object returned a person with an id of -1? It is also not clear what the name should be, is it Anonymous, Guest, something else? Also what part of the name object should be filled out?

What happens if I call the some of the other social APIs?

https://groups.google.com/forum/?fromgroups#!topic/opensocial-and-gadgets-spec/_j8waMcrteg

Original issue: http://code.google.com/p/opensocial-resources/issues/detail?id=1310

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant