Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Security and Privacy
    • Labels:

      Description

      With the implementation of https://issues.gpii.net/browse/GPII-1274, the authorization server will use CouchDB and PouchDB as the backend data storage. This results in the retirement and removal of the previous in memory data store from the universal repo, together with corresponding sample data and examples. These examples include how to set up the auth server as a resource server and oauth2 client sample code etc.

      This JIRA is to track revisions of these removed code in case they might be useful in future.

      The implementation of the in memory data store:
      https://github.com/gpii/universal/blob/820e4919907e56f6412b2e3bab18675d5388b00b/gpii/node_modules/gpii-oauth2/gpii-oauth2-datastore/src/InMemoryDataStore.js

      Examples related to the authorization server that uses the in memory data store:
      https://github.com/gpii/universal/tree/820e4919907e56f6412b2e3bab18675d5388b00b/examples
      Note that examples are in directories prefixed with "gpii-oauth2" and also the directory "easit-oauth-integration"

      An in memory data store component with test data populated:
      https://github.com/gpii/universal/blob/820e4919907e56f6412b2e3bab18675d5388b00b/testData/security/TestOAuth2DataStore.js

      The unit test for the in memory data store:
      https://github.com/gpii/universal/blob/b332b63a37dc7192a66efc9756938a67418ec115/gpii/node_modules/gpii-oauth2/gpii-oauth2-datastore/test/html/DataStoreTests.html
      https://github.com/gpii/universal/blob/b332b63a37dc7192a66efc9756938a67418ec115/gpii/node_modules/gpii-oauth2/gpii-oauth2-datastore/test/js/DataStoreTests.js

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cli@ocad.ca Cindy Qi Li
              Reporter:
              cli@ocad.ca Cindy Qi Li
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: