A starter to create an Okta OAuth2.0 Service app via Okta's API.
Clone this repo:
git clone https://github.com/indent-testing/create-okta-app.git \
cd create-okta-app
Install the dependencies:
npm install
Build the Node file into a binary:
npm run build && npm link
Make sure you have access to your Okta Domain URL and your Okta Admin API Token.
Use the app like this:
create-okta-app --domain DOMAIN.okta.com --scopes "okta.users.manage,okta.groups.manage,okta.apps.read" --token TOKEN --name indent-access-service-app
Or use npx
to do in one line:
npx create-okta-app --domain DOMAIN.okta.com --scopes "okta.users.manage,okta.groups.manage,okta.apps.read" --token TOKEN --name indent-access-service-app