Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

oci-cli authentication - print the URL rather than opening the browser?

edited Jan 20, 2021 10:30AM in OCI - General 4 comments

Content

I'm working in numerous shell tabs, browser tab containers and with a series of web console and API users - all simultaneously. When trying to authenticate a shell session to a particular user, I'm finding the oci-cli command very frustrating because it insists on opening a browser window from the command line. This invariable opens my default browser, in the default tab container which is logged on a different user than the one I'd like to log on with in the CLI.

This whole problem would be solved neatly if I could just get the oci-cli to tell me the URL it wants to open, rather than attempting to open it automatically. Is there a way to do this? I've looked in help pages and tried a few possible command line options, but nothing works.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!