Make sure you have already followed the instructions in Getting Started
Some test apps will require additional setup specific to that test app
- Sign into the Okta Admin Console of your test org
- Select "Applications > Applications > Create App Integration"
- In the wizard, entry the following values
- Sign-in method:
OIDC - Application type:
Single-Page Application(aka SPA) - Enable Grant Types:
Authorization CodeandRefresh Token - Sign-in redirect URIS:
http://localhost:8080/login/callback - Logout redirect URIS:
http://localhost:8080/logout
- Sign-in method:
It may be worth creating 2 apps, one with DPoP and one without
Add a file named testenv at top-level of this repo (same directory as turbo.json)
In this file, put the following values found in your Okta Application:
# testenv
ISSUER="https://{org-id}.okta(preview)?.com/"
# Non-DPoP samples
SPA_CLIENT_ID="somestringvalue"
# For DPoP samples
DPOP_CLIENT_ID="someotherstringvalue"
Lastly, run the test app
cd ./{sample-app}
yarn dev