From b5bb0eaa8e419651d3c2ba6cb479b608a0bef5ff Mon Sep 17 00:00:00 2001 From: Game_Time <108236317+RayBytes@users.noreply.github.com> Date: Wed, 19 Nov 2025 15:19:46 +0500 Subject: [PATCH] possible fix for auth refresh --- chatmock/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chatmock/utils.py b/chatmock/utils.py index a32144b..79703a5 100644 --- a/chatmock/utils.py +++ b/chatmock/utils.py @@ -293,7 +293,7 @@ def _refresh_chatgpt_tokens(refresh_token: str, client_id: str) -> Optional[Dict "grant_type": "refresh_token", "refresh_token": refresh_token, "client_id": client_id, - "scope": "openid profile email", + "scope": "openid profile email offline_access", } try: