opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Google Account Login

Open Gibgoyt opened this issue 6 months ago • 14 comments

Gemini CLI allows to login via a Google Account,

OpenCode currently allows Claude Pro/Max subscriptions, does Claude/Anthropic allow that or is it a cunning trick???

Is it possible to something similar with Gemini Models????

Gibgoyt avatar Jun 27 '25 07:06 Gibgoyt

do you like question marks?

sockthedev avatar Jun 27 '25 09:06 sockthedev

Did you try to authenticate with Google? opencode auth login and select Google as provider. You can read more about the models in the docs.

palmamartin avatar Jun 27 '25 11:06 palmamartin

If you meant a Oauth login workflow... there is a PR (440) open to add this feature for Google.

palmamartin avatar Jun 27 '25 11:06 palmamartin

If you meant a Oauth login workflow... there is a PR (440) open to add this feature for Google.

Yes I did, thanks

Gibgoyt avatar Jun 27 '25 16:06 Gibgoyt

Is this effectively a duplicate of #402?

aspiers avatar Jun 28 '25 14:06 aspiers

I dont see the option for Oauth.

https://github.com/user-attachments/assets/cd2c01ae-17f9-4813-8689-d9a2b8da5a38

Utkarshbhimte avatar Jul 02 '25 13:07 Utkarshbhimte

I dont see the option for Oauth.

CleanShot.2025-07-02.at.19.16.11.mp4

It’s not implemented yet.

palmamartin avatar Jul 02 '25 17:07 palmamartin

we're not going to implement this at the moment - we have a plugin system in the works and we'll implement it as a plugin

thdxr avatar Jul 02 '25 17:07 thdxr

Plugin out now! It would be great to have this feature :)

samuellawrentz avatar Aug 05 '25 11:08 samuellawrentz

+1

shantur avatar Sep 10 '25 17:09 shantur

+1 great addition for many individual developers

nitish-raj avatar Sep 27 '25 16:09 nitish-raj

I have now created a plugin for this https://github.com/jenslys/opencode-gemini-auth

jenslys avatar Nov 01 '25 18:11 jenslys

I have now created a plugin for this https://github.com/jenslys/opencode-gemini-auth

You bloody legend, confirmed working flawlessly!

benjaminwestern avatar Nov 03 '25 10:11 benjaminwestern

I have now created a plugin for this https://github.com/jenslys/opencode-gemini-auth

It worked! Thanks

CompeanR avatar Dec 19 '25 19:12 CompeanR