security token refresh not extending the validity time - token created with --no-browser
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- python
- Domain
- authentication, cli
Research direction
Start by reproducing the issue with oci session refresh and then oci session validate --auth security_token --local, using the --no-browser session described in the title. Trace the session refresh and validation entry points to determine why the reported validity remains unchanged; done means a successful refresh extends the validity time shown by validation.
Written by the indexing model from the issue text.
Description
I am trying to refresh a OCI CLI session token. I see the token is refreshed but the validity is not getting changed.
% oci -v
3.63.0
% oci session validate --config-file vault/.oci/iadpreprod/config --profile TOKEN_PROFILE --auth security_token --local
Session is valid until 2025-07-26 14:41:19
% oci session refresh --config-file vault/.oci/iadpreprod/config --profile TOKEN_PROFILE
Attempting to refresh token from https://auth.us-ashburn-1.oraclecloud.com/v1/authentication/refresh
Successfully refreshed token
%
% oci session validate --config-file vault/.oci/iadpreprod/config --profile TOKEN_PROFILE --auth security_token --local
Session is valid until 2025-07-26 14:41:19
- Dominant language
- Python
- Stars
- 671
- Forks
- 236
- Avg merge
- 1m
- Merged PRs (30d)
- 4
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from oracle/oci-cli
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
honor `OCI_CLI_PROFILE` in `oci session authenticate`Possibly taken @scratchmex claimed this 124 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
LearningCircuit/local-deep-research#7206 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
chingu-voyages/V62-tier3-team-33#285 ·
Maintainers usually reply within 1 day
-
Proxy drops log notifications from backends that don't send FastMCP's msg/extra dictPossibly taken @asasemahmed claimed this today. Openbug server
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
[Bug]: Bedrock request metadata forwarding does not work for /embeddingsPossibly taken A pull request linked to this issue is open or already merged. Openbug llm translation
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day