Skip to content

PR based on https://github.com/clawshell/clawshell/pull/73 - #86

Merged
ADD-SP merged 1 commit into
mainfrom
feature/oauth
Mar 22, 2026
Merged

ADD-SP merged 1 commit into
mainfrom
feature/oauth

Conversation

@xichen1997

Copy link
Copy Markdown
Contributor

This PR is based on #73

Original info:

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

Current progress: I have cleaned all the code for google/antigravity Oauth, which won't be supported in the future, and now it can build with:

podman run --rm -v $(pwd):/workspace -w /workspace rust:latest sh -c "cargo build && cargo test"

However, the podman compose up will give several configuration warnings or errors:

openclaw-gateway  | 2026-03-19T22:15:12.186+00:00 Missing config. Run `openclaw setup` or set gateway.mode=local (or pass --allow-unconfigured).
openclaw-gateway  | 2026-03-19T22:15:12.186+00:00 Missing config. Run `openclaw setup` or set gateway.mode=local (or pass --allow-unconfigured).
openclaw-gateway  | 2026-03-19T22:15:12.186+00:00 Missing config. Run `openclaw setup` or set gateway.mode=local (or pass --allow-unconfigured).
openclaw-gateway  | 2026-03-19T22:15:12.186+00:00 Missing config. Run `openclaw setup` or set gateway.mode=local (or pass --allow-unconfigured).
openclaw-gateway  | 2026-03-19T22:15:12.186+00:00 Missing config. Run `openclaw setup` or set gateway.mode=local (or pass --allow-unconfigured).
openclaw-gateway  | 2026-03-19T22:15:12.186+00:00 Missing config. Run `openclaw setup` or set gateway.mode=local (or pass --allow-unconfigured).
openclaw-gateway exited with code 1 (restarting)

@xichen1997
xichen1997 requested a review from ADD-SP March 19, 2026 22:16
@xichen1997 xichen1997 self-assigned this Mar 19, 2026
@xichen1997

Copy link
Copy Markdown
Contributor Author

As per @ADD-SP's comment, the official way to configure Docker for OpenClaw is documented here: https://docs.openclaw.ai/install/docker.

I recommend we keep the Docker setup for clawshell only rather than both.

@xichen1997
xichen1997 marked this pull request as draft March 19, 2026 22:47
@xichen1997

Copy link
Copy Markdown
Contributor Author

I have deleted the docker part temporarily since we have to include openclaw image for running the openclaw CLI, which is way to heavy for a proxy tool like clawshell.

Keep the oauth for codex part and tested it could work on my Mac mini with vanilla OpenClaw.

@xichen1997
xichen1997 marked this pull request as ready for review March 20, 2026 20:56
Comment thread docs/codex-oauth-plan.md Outdated

@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.

Could you squash all commit into a single commit, the author is https://github.com/u20024804, and you are the co-author, so that I can rebase and merge this PR.

Co-authored-by: Xi Chen <chenxi.edu1997@gmail.com>
@ADD-SP
ADD-SP added this pull request to the merge queue Mar 22, 2026
Merged via the queue into main with commit 2577c5e Mar 22, 2026
4 checks passed
@ADD-SP
ADD-SP deleted the feature/oauth branch March 22, 2026 18:31
@ADD-SP

ADD-SP commented Mar 22, 2026

Copy link
Copy Markdown
Collaborator

Force pushed 75fbaa8 to fix incorrect commit message.

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