Skip to content

Commit

Permalink
update changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
RamIdeas committed Mar 21, 2024
1 parent 35660e2 commit bb79a5e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .changeset/rude-mice-study.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit bb79a5e

Please sign in to comment.