yarn
yarn build
To generate a Parcel App with explicit permissions, first ensure that you are using Node ^v14.8
node src/createApp.mjs
There are two sites involved in the demo: a trusted third party origin (ttp) and a sample site. The trusted third party serves as the trusted point for login with Oasis, whereas the sample site represents how a typical site would implement and utilize Passport.
First, start the ttp which will listen on http://localhost:8080
npm run ttp
Then, start the sample website on http://localhost:8081
npm run sample
- Visit the ttp at http://localhost:8080.
- Login to Oasis and follow the prompts until you get to the landing page.
- Visit the sample site at http://localhost:8081.
- Optional: open the javascript console.
- Accept the cookies on the page, which will then upload a log of your browser visit along with any cookie data to Oasis.
- Visit any other sample sites, or refresh the page and create more logs.
- Visit https://steward.oasislabs.com/apps/A3D4dqRVT1KsGWo3sQRhyMY/join and accept the terms. You should now
be able to view your data under the
Your Data
tab