Skip to content

OCI API MCP server hangs after token expires #51

@gebhardtr

Description

@gebhardtr

Subprocess call fails because CLI waits for reauth confirmation.

oci --profile DEFAULT --auth security_token iam region list
ERROR: This CLI session has expired, so it cannot currently be used to run commands
Do you want to re-authenticate your CLI session profile? [Y/n]: 

https://github.com/oracle/oci-cli/blob/8a7e19161d142f3edce7a153fda824918d39a757/src/oci_cli/cli_util.py#L329

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions