-
Notifications
You must be signed in to change notification settings - Fork 27
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
Add ability for the CLI to "logout" #35
Comments
Just curious, why do you want to logout? |
@mraible I'd like to login into another okta tenant. |
Ahh, ideally calling If we add a For the short term just delete This should be something we can fix in the next release. |
Maybe it should be like the Cloud Foundry CLI? You can deploy CF anywhere, so you have to specify the API when logging in.
I could see how it might be nice to have multiple orgs listed in
|
I like this idea. 🤔
(or something like that) But what should happen if I don't specify the URL (assuming I still have two orgs configured)? |
seems make thing complicated. I have okta dev env which has something in the |
If you only have one org in
If I run
However, if I delete my
|
@haishengwu-okta we would still need to store a secret key to handle encryption. In the future, we may be able to support doing something with a more temporary access token. But there is a bit of a chicken & egg problem with that right now. |
@bdemers If we don't add encryption shortly, would be better to tell user that we store the api token at |
For
Seems either making |
Secret stores (for example the mac keychain) are not consistent between OS's, and may not exist at all for some. Using environment variables should work as well, for scripting, or docker environments. In those cases the user would be in control of how those vars are set. For now though, we can add a note. |
And I don't see a logout command.
The text was updated successfully, but these errors were encountered: