Skip to content

[feature/oauth] support OpenAI Codex and Google Antigravity oauth login - #73

Closed
u20024804 wants to merge 18 commits into
runta-dev:mainfrom
u20024804:feature/oauth
Closed

u20024804 wants to merge 18 commits into
runta-dev:mainfrom
u20024804:feature/oauth

Conversation

@u20024804

@u20024804 u20024804 commented Feb 24, 2026

Copy link
Copy Markdown
Contributor
  1. support oauth login
  2. support OpenAI Codex login
  3. support Google Antigravity oauth login, but because of the git security policy I cannot upload the oauth secret here, also need to set env var CLAWSHELL_ONBOARD_SHOW_ANTIGRAVITY_OAUTH=true to show it
  4. add Docker support and docker compose support, so developer can verify and test more easier
    The new architecture and flow docs in the docs folder

@ADD-SP ADD-SP left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Emm, it looks like OpenClaw will remove the antigravity oauth support soon.

@u20024804

Copy link
Copy Markdown
Contributor Author

Emm, it looks like OpenClaw will remove the antigravity oauth support soon.

Just hide the antigravity oauth, or do you want to remove it?
I like to hide so if someone still want to use antigravity, there is a way

@u20024804

Copy link
Copy Markdown
Contributor Author

remove antigravity support

@u20024804
u20024804 requested a review from ADD-SP March 1, 2026 13:48

@ADD-SP ADD-SP left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the late reply, I have wrote down some review comments.

Comment thread src/translate.rs
/// ```
///
/// Returns `Some(line)` for data events, `None` for events to suppress.
pub fn translate_gemini_sse_line(

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left-over code?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This document appears to be intended solely for coding agent implementing this feature, as it contains extensive details and becomes less relevant after merging this PR. Please delete it. Otherwise, we must maintain consistency between the documentation and the code.

Comment thread docs/codex-oauth-plan.md

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This document appears to be intended solely for coding agent implementing this feature, as it contains extensive details and becomes less relevant after merging this PR. Please delete it. Otherwise, we must maintain consistency between the documentation and the code.

Comment thread src/app.rs
state.dlp_scanner.clone(),
);
Response::from_parts(parts, dlp_body)
}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This enables DLP for streaming response, just double-check, is this intentional?

Comment thread Dockerfile.openclaw

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Emm, there is a highly complicated docker setup guide in the official OpenClaw docs, is this simple Dockerfile good enough?

https://docs.openclaw.ai/install/docker

@xichen1997

Copy link
Copy Markdown
Contributor

close this PR and part of the contribution has been moved to #86.

Thanks! @u20024804 @ADD-SP

@xichen1997 xichen1997 closed this Mar 22, 2026
github-merge-queue Bot pushed a commit that referenced this pull request Mar 22, 2026
feat: support OAuth login for OpenAI Codex

Co-authored-by: u20024804 <u20024804@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants