add new scopes to login (#12383)

Validated login + refresh flows. Removing scopes from the refresh
request until we have upgrade flow in place. Confirmed that tokens
refresh with existing scopes.
This commit is contained in:
Alex Daley
2026-03-04 11:41:54 -05:00
committed by GitHub
parent f72ab43fd1
commit 8a59386273
2 changed files with 2 additions and 3 deletions

View File

@@ -626,7 +626,6 @@ async fn request_chatgpt_token_refresh(
client_id: CLIENT_ID,
grant_type: "refresh_token",
refresh_token,
scope: "openid profile email",
};
let endpoint = refresh_token_endpoint();
@@ -722,7 +721,6 @@ struct RefreshRequest {
client_id: &'static str,
grant_type: &'static str,
refresh_token: String,
scope: &'static str,
}
#[derive(Deserialize, Clone)]