codex - 💡(How to fix) Fix Azure Auth support [5 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#19893Fetched 2026-04-28 06:35:26
View on GitHub
Comments
5
Participants
2
Timeline
16
Reactions
0
Author
Timeline (top)
commented ×5labeled ×5unlabeled ×2closed ×1
RAW_BUFFERClick to expand / collapse

What variant of Codex are you using?

MCPServer, CLI

What feature would you like to see?

Hi Codex team,

Thank you for the great work on the Codex agent in Rust. This is a very useful effort.

We have been experimenting with the Rust Codex agent from this repo, and it has been working well so far. I would like to contribute several improvements to Codex.

For this pull request, I would like to add support for Azure auth in Codex, including:

  1. Developer credentials, so developers can authenticate when running locally.
  2. Managed Identity and Workload Identity credentials.
  3. Credential caching and renewal.
  4. Other optional credential modes.

By depending on the azure_core and azure_identity crates, we should be able to support most of this with minimal custom implementation, it will integrate smoothly with existing Codex auth model.

Thank you, Oleksii

Additional information

No response

extent analysis

TL;DR

To add Azure auth support in Codex, utilize the azure_core and azure_identity crates for a minimal custom implementation.

Guidance

  • Review the azure_core and azure_identity crates documentation to understand their authentication mechanisms and how they can be integrated with Codex.
  • Explore the existing Codex auth model to determine the best approach for incorporating Azure auth support.
  • Consider creating a new module or feature branch to implement and test the Azure auth functionality before merging it into the main Codex codebase.
  • Evaluate the security implications of adding new authentication methods, including credential caching and renewal.

Notes

The implementation details of Azure auth support in Codex are not provided, so a complete solution cannot be given. However, utilizing the mentioned crates should simplify the process.

Recommendation

Apply workaround: Utilize the azure_core and azure_identity crates to implement Azure auth support in Codex, as this approach is suggested by the contributor and seems to be a viable solution.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING