Okta is a complete access management platform that provides secure identity management with Single Sign-On, Multi-factor Authentication, Lifecycle Management (Provisioning), and more. In a typical app, Okta is the gateway for connecting the app, devices and users via APIs.
- Get the Okta API Key by visting the create an API Token docs
- Set the API key as OKTA_API_KEY environment variable.
- Get the Okta Domain by visiting the following find your domain docs
- We need to input the Okta Domain as OKTA_DOMAIN environment variable.
This custom resolver is used to accept a user's id as an argument and will return a data pertaining to that user.
-
Click the following button to edit on glitch
-
Add the following environment variables in the
.env
file on glitch.OKTA_API_KEY=xxx OKTA_DOMAIN=xxx PORT=3000
npm install
PORT=3000 OKTA_API_KEY=xxx OKTA_DOMAIN=xxx npm start