Skip to content

Conversation

@mgpai22
Copy link

@mgpai22 mgpai22 commented Jan 12, 2026

Summary

  • Adds Gemini CLI OAuth login flow integration
  • Implements PKCE-based OAuth for secure browser authentication
  • Handles token exchange, refresh, and caching automatically
  • Supports both interactive and headless authentication modes

Fixes #8035

Test plan

  • Test OAuth flow opens browser and completes authentication
  • Verify token refresh works after expiry
  • Confirm API requests succeed with obtained credentials
  • Test headless mode fallback

@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@mgpai22
Copy link
Author

mgpai22 commented Jan 12, 2026

@codex review

@jenslys
Copy link

jenslys commented Jan 12, 2026

Is this not a 1:1 copy of my plugin?

https://github.com/jenslys/opencode-gemini-auth

@YaKun9
Copy link

YaKun9 commented Jan 13, 2026

这不是我插件的1:1复制品吗?

https://github.com/jenslys/opencode-gemini-auth

A very nice plugin — already using it and loving it.

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.

[FEATURE]: Add Gemini CLI OAuth login flow integration

3 participants