You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 18, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 18, 2025. It is now read-only.
I am trying to understand the legality of using these OAuth solutions with a client key that is clearly not meant to be used by other tools. In addition to that none of the providers explicitly allow (I think) using these oauth flows outside their CLIs, I merged in the github copilot implementation but even that is very questionable since I do not know if the copilot API is allowed to be used like that.
Would love to know from someone who knows better if using these auth flows with clientIds that are not meant for other tools is problematic.
I know it is possible to add the same thing for anthropic and copilot also but just am struggling to understand if this is going to be an issue long term.
It won't be as useful as you think @aryadytm . Even in Gemini cli the 2.5 pro (free) usage is limited and it returns 429 responses as soon as hits the the rate limits. Then it switches back to 2.5 Flash which you anyway can get with the Gemini API keys for free.
@kujtimiihoxha I agree the legality is hard to reason about. You could use the tool programmatically (gemini -p "query") and probably be okay. And since the code is open source, it is possible to just use the same code that is used for OAuth and it will work. But will it violate any API terms of service in that case? The tool itself is open source, but you are using the API outside of its intended purpose.
Activity
bachittle commentedon Jun 26, 2025
since it's open source should be easy to reverse engineer. +1 for this!
monotykamary commentedon Jun 27, 2025
https://github.com/cline/cline/pull/4472/files
to add, Cline has already speedran that front
kujtimiihoxha commentedon Jun 27, 2025
I am trying to understand the legality of using these OAuth solutions with a client key that is clearly not meant to be used by other tools. In addition to that none of the providers explicitly allow (I think) using these oauth flows outside their CLIs, I merged in the github copilot implementation but even that is very questionable since I do not know if the copilot API is allowed to be used like that.
Would love to know from someone who knows better if using these auth flows with
clientIdsthat are not meant for other tools is problematic.I know it is possible to add the same thing for anthropic and copilot also but just am struggling to understand if this is going to be an issue long term.
shivamklr commentedon Jun 27, 2025
It won't be as useful as you think @aryadytm . Even in Gemini cli the 2.5 pro (free) usage is limited and it returns 429 responses as soon as hits the the rate limits. Then it switches back to 2.5 Flash which you anyway can get with the Gemini API keys for free.
akwin1234 commentedon Jun 27, 2025
would be nice instead of using gemini cli as provider we use their AUTH as provider. would be much better
CLI is full of bugs
ianjamesburke commentedon Jun 27, 2025
Love this.
@akwin1234 I agree. The launch was hype but they seriously fumbled the debut. They should have expected a hoard, 1000 messages a day is wild.
I'm not going to ask too many question for now and just hop back on Cline for now while this is working.
@kujtimiihoxha I think this is due to unexpectedly high demand and their day 1 patch DID NOT solve the issue.
bachittle commentedon Jun 27, 2025
@kujtimiihoxha I agree the legality is hard to reason about. You could use the tool programmatically (gemini -p "query") and probably be okay. And since the code is open source, it is possible to just use the same code that is used for OAuth and it will work. But will it violate any API terms of service in that case? The tool itself is open source, but you are using the API outside of its intended purpose.
bachittle commentedon Jun 30, 2025
Turns out it does violate TOS: https://x.com/cline/status/1939129177807913024
akwin1234 commentedon Jun 30, 2025
shivamklr commentedon Jul 7, 2025
I think #301 will help with this. Once it gets merged, you can enjoy 2.5 pro.
Go Open Source 😄