⚠️ Deprecation Notice
As of July 18, 2025, the Okta CLI is deprecated and will no longer receive updates. For continued CLI operations, please use:
For new projects, use the samples at github.com/okta-samples/
For more information, see developer.okta.com/blog/2025/05/13/okta-developer-edition-changes
Okta CLI (beta) Documentation
The Okta CLI is the easiest way to get started with Okta!
Get started today by installing on your platform.
brew install --cask oktadeveloper/tap/oktamacOS Install
choco install oktaWindows Install
flatpak install flathub com.okta.developer.CLILinux Install
Getting Started
$ okta start spring-boot Registering for a new Okta account, if you would like to use an existing account, use 'okta login' instead. First name: Jamie Last name: Example Email address: jamie@example.com Company: Okta Test Company Creating new Okta Organization, this may take a minute: OrgUrl: https://dev-123456.okta.com An email has been sent to you with a verification code. Check your email Verification code: 086420 New Okta Account created! Your Okta Domain: https://dev-908973.okta.com To set your password open this link: https://dev-908973.okta.com/reset_password/drpFaK66lHuY4d1WbrFP?fromURI=/ Configuring a new OIDC Application, almost done: Created OIDC application, client-id: 0oazahf9k5LDCx32C4x6 Change the directory: cd spring-boot Okta configuration written to: src/main/resources/application.properties Don't EVER commit src/main/resources/application.properties into source control Run this application with: ./mvnw spring-boot:run $