eca icon indicating copy to clipboard operation
eca copied to clipboard

Google gemini oauth login support

Open sg-qwt opened this issue 1 year ago • 4 comments

Right now, only API can be used with gemini. It'd be good if we can support personal oauth login with google account same as gemini cli provided.

That would benifit Google AI Pro or Google AI Ultra subscriber I believe. (Maybe even free tier users)

https://geminicli.com/docs/get-started/authentication/

sg-qwt avatar Nov 05 '25 19:11 sg-qwt

Sounds good, no one never requested it, but if it's similar to anthropic/openai it should work! ECA already has login feature which allows that.

Would be perfect if we could figure it out how to authenticate via oauth API c/c @lukaszkorecki in case you know anything

ericdallo avatar Nov 05 '25 20:11 ericdallo

Sounds good, no one never requested it, but if it's similar to anthropic/openai it should work! ECA already has login feature which allows that.

Would be perfect if we could figure it out how to authenticate via oauth API c/c @lukaszkorecki in case you know anything

When I tried to make it work in the early days, I focused only on using gcloud CLI to get the auth token - but that only works with Google accounts backed by Google Cloud, not sure if it would be possible to do for pure Google Workspace accounts, so a full on OAuth2 flow would have to be added to ECA

lukaszkorecki-ps avatar Nov 05 '25 20:11 lukaszkorecki-ps

Yeah, A full oauth flow would be easier I guess and the same we did for github-copilot, anthropic and openai, we already have useful fuctions for that, I'd prefer that if we find the API.

ericdallo avatar Nov 05 '25 20:11 ericdallo

closing this, dup of #281

sg-qwt avatar Feb 03 '26 19:02 sg-qwt