Versions Compared

Key

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

...

Synapse offers integration support to third-party services. The basic idea here is that the calculation and management of statistics and making them available to users should be implemented by third party. Third party services needs to can follow below processes to achieve this.

  1. Pre-calculate the project statistics and store the statistics in S3, database table or any other suitable storage.

  2. The third party App will connect to Synapse via single sing-on(OAuth) to authenticate user. Once authenticated, the Synapse API will provide access token in response.

  3. Using the access token retrieved in Step 2, the third party service will connect to Synapse API https://rest-docs.synapse.org/rest/GET/entity/id/permissions.html to get UserEntityPermissions.

  4. Using the UserEntityPermissions response, the third party app can verify user permission on entity and provide monthly project statistics to the user, if eligible.

...