From bb79a5e0909b33001835199c8d9a0866489ddf67 Mon Sep 17 00:00:00 2001 From: Rahul Sethi <5822355+RamIdeas@users.noreply.github.com> Date: Thu, 21 Mar 2024 14:02:43 +0000 Subject: [PATCH] update changeset --- .changeset/rude-mice-study.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.changeset/rude-mice-study.md b/.changeset/rude-mice-study.md index b6041ce23622..8777dc661a59 100644 --- a/.changeset/rude-mice-study.md +++ b/.changeset/rude-mice-study.md @@ -7,3 +7,5 @@ fix: Ignore OPTIONS requests in Wrangler's oauth server In Chrome v123, the auth requests from the browser back to wrangler now first include a CORS OPTIONS preflight request before the expected GET request. Wrangler was able to successfully complete the login with the first (OPTIONS) request, and therefore upon the second (GET) request, errored because the token exchange had already occured and could not be repeated. Wrangler now stops processing the OPTIONS request before completing the token exchange and only proceeds on the expected GET request. + +If you see a `ErrorInvalidGrant` in a previous wrangler version when running `wrangler login`, please try upgrading to this version or later.