possible fix for refresh token

This commit is contained in:
Game_Time
2025-09-25 20:05:54 +05:00
parent 6c0d63869e
commit 3a16fb8179
3 changed files with 156 additions and 12 deletions

View File

@@ -6,6 +6,8 @@ from pathlib import Path
CLIENT_ID_DEFAULT = os.getenv("CHATGPT_LOCAL_CLIENT_ID") or "app_EMoamEEZ73f0CkXaXp7hrann"
OAUTH_ISSUER_DEFAULT = os.getenv("CHATGPT_LOCAL_ISSUER") or "https://auth.openai.com"
OAUTH_TOKEN_URL = f"{OAUTH_ISSUER_DEFAULT}/oauth/token"
CHATGPT_RESPONSES_URL = "https://chatgpt.com/backend-api/codex/responses"