Skip to content

An example ecommerce site showcasing Okta's new Financial Grade Identity (FGI) functionality.

License

Notifications You must be signed in to change notification settings

udplabs/ecommerce-demo

Repository files navigation

ecommerce-demo

An example ecommerce site showcasing Okta's new Financial Grade Identity (FGI) functionality. It uses pushed authorization requests (PAR) to securely transmit transaction details for appoval via a custom mobile push notification. If you don't want to set this app up to run locally, you can use the online version.

Setup

Local Environment

Make a copy of .env.sample and save it as .env in the app folder. Create a new regular web application in your CIC tenant. This will be the plant store. Fill in the relevant details from your new app into your .env file.

# the ecommerce app
APP_URL=http://localhost:8080
ISSUER_BASE_URL=<your Auth0 tenant>
CLIENT_ID=<your app client ID>
CLIENT_SECRET=<your app client secret>
AUDIENCE=https://my-audience-url
SCOPE=openid profile email offline_access read:balance
RESPONSE_TYPE=code
PVT_KEY="-----BEGIN RSA PRIVATE KEY-----\n  \n-----END RSA PRIVATE KEY-----\n"

The PVT_KEY value is available in the lab guide.

Next, create a new API service in your tenant with the following details:

Bank Tenant Account

Sign up for an account in the Atko Bank Demo. Click on Sign Up/Login in the upper right hand corner. During the signup process, you will be required to download and enroll the custom mobile app to receive push notifications.

Install Dependencies

Install the dependencies by running:

cd app
npm install

Running the Demo

To run the demo locally:

cd app
npm run dev

This will start a development server on http://localhost:8080.

About

An example ecommerce site showcasing Okta's new Financial Grade Identity (FGI) functionality.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published