[GH-ISSUE #30] gemini 不能认证 #25

Closed
opened 2026-02-27 07:17:29 +03:00 by kerem · 2 comments
Owner

Originally created by @Yujiangshan on GitHub (Aug 13, 2025).
Original GitHub issue: https://github.com/justlovemaki/AIClient-2-API/issues/30

原来使用正常的,新版更新之后,找不到gemini 认证文件。

[Gemini Auth] Credentials file '/root/.gemini/oauth_creds.json' not found. Starting new authentication flow...

[Gemini Auth] Please open this URL in your browser to authenticate:

Originally created by @Yujiangshan on GitHub (Aug 13, 2025). Original GitHub issue: https://github.com/justlovemaki/AIClient-2-API/issues/30 原来使用正常的,新版更新之后,找不到gemini 认证文件。 [Gemini Auth] Credentials file '/root/.gemini/oauth_creds.json' not found. Starting new authentication flow... [Gemini Auth] Please open this URL in your browser to authenticate:
kerem closed this issue 2026-02-27 07:17:29 +03:00
Author
Owner

@Yujiangshan commented on GitHub (Aug 13, 2025):

手工可以打开认证文件的

重新认证肯定不行啊。

Access blocked: Authorization Error

You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy for keeping apps secure.

You can let the app developer know that this app doesn't comply with one or more Google validation rules.
Learn more about this error
If you are a developer of Gemini Code Assist and Gemini CLI, see error details.
Error 400: invalid_request

<!-- gh-comment-id:3182270777 --> @Yujiangshan commented on GitHub (Aug 13, 2025): 手工可以打开认证文件的 重新认证肯定不行啊。 Access blocked: Authorization Error You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy for keeping apps secure. You can let the app developer know that this app doesn't comply with one or more Google validation rules. [Learn more about this error](https://developers.google.com/identity/protocols/oauth2/policies#secure-response-handling) If you are a developer of Gemini Code Assist and Gemini CLI, see [error details](https://accounts.google.com/). Error 400: invalid_request
Author
Owner

@justlovemaki commented on GitHub (Aug 13, 2025):

<!-- gh-comment-id:3183012388 --> @justlovemaki commented on GitHub (Aug 13, 2025): ?
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/AIClient-2-API-justlovemaki#25
No description provided.