Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Use cases

A number of cases have arisen in which an external application needs to access user data in Synapse. 

 Use cases:

1) OneMind Portal

The OneMind Portal is a web-based aggregator of applications, one of which is Synapse.  One goal is single-sign-on, such that users can sign on with any of a variety of web-based identities, and automatically be signed on to each of the aggregated applications.  The OneMind Portal uses Janrain, which allows users to sign-on with any of Google, LinkedIn, Twitter, etc., and to "link" their accounts together so that, for example, logging in with Twitter causes them to also be logged in to LinkedIn and Google.  The missing piece is to allow a OneMind Portal user to "link" their Synapse account, so that logging in with Janrain causes them to be logged into Synapse.

...

The WCPE Challenge is working to implement a way for participant participants to interactively build up a set of files that they will be granted access to by the Shiny widget. Ideally, this would require the Shiny app to know, via some authentication method, exactly who the user is that is visiting the imbedded embedded application. Currently, the work around will be to pass the principalId of the user, but not the sessionToken. This is a sufficient work around for this one use case, but further integration with Shiny (see below) will warrant full auth cross-talk.

...

3) IBM whole cell parameter estimation (WCPE) challenge: This is not an immediate need, but in discussion about the challenge the use case came of how a 3d 3rd party app could get a user's Syanpse Synapse principal ID.  One way is to give the app the user's session token (or API key, or password), but this is too powerful

 

Possible Architectures

The following is a survey of identify providers and the protocols/architectures they use to allow third party integration.

Identity ProvideerArchitectural Approach / ProtocolComments
Google  
Facebook  
Twitter  
AOL  
Yahoo

OpenID, OAuth, and OpenID-OAuth Hybrid

http://developer.yahoo.com/auth/

 
Flickr

Home grown:

http://www.flickr.com/services/api/auth.spec.html

The authentication service is similar to that which we have recently added to the portal.  Flickr's approach suggests security improvements, e.g. requiring the relying party to use an API key to identify itself.
Blogger