Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warn user when configuring a deactivated application #373

Open
bdemers opened this issue Oct 13, 2022 · 0 comments
Open

Warn user when configuring a deactivated application #373

bdemers opened this issue Oct 13, 2022 · 0 comments

Comments

@bdemers
Copy link
Contributor

bdemers commented Oct 13, 2022

If an inactive Okta Application already exists and the Okta CLI creates an app with the same name (by default the directory name).
okta start (and likely okta apps create) will generate a configuration for the deactivated app.

Running the app, and attempting to login (via an OAuth redirect) will result in Okta showing a 400 error with no indication of what happened (on purpose, to prevent leaking data).

The solution may be to either warn the user. Possibly writing the config but then exiting with a non-zero exit status (or both).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant