[GH-ISSUE #4866] [bug]: OAuth 2.0 Authorization on collection stopped working: "AUTH_TOKEN_REQUEST_INVALID_RESPONSE" #1831

Closed
opened 2026-03-16 21:59:40 +03:00 by kerem · 6 comments
Owner

Originally created by @kamilzki on GitHub (Mar 10, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4866

Originally assigned to: @CuriousCorrelation on GitHub.

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

After the recent problem with a browser extension (https://github.com/hoppscotch/hoppscotch/issues/4837), the OAuth 2.0 Authorization on collection stopped working.

After clicking "Generate token", I am always getting two errors:

  • "AUTH_TOKEN_REQUEST_INVALID_RESPONSE"
  • "Failed to fetch token"

I see no requests are made in the network tab.
The same configuration without browser extensions, by using browser option, works properly and I can see a successful token request in the network too.

Image

Steps to reproduce

  1. use browser extension (I use chrome)
  2. define OAuth 2.0 configuration on collection
  3. Click "Generate token"
  4. Error should be visible

Environment

Production

Version

Local

Originally created by @kamilzki on GitHub (Mar 10, 2025). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4866 Originally assigned to: @CuriousCorrelation on GitHub. ### Is there an existing issue for this? - [x] I have searched the existing issues ### Current behavior After the recent problem with a browser extension (https://github.com/hoppscotch/hoppscotch/issues/4837), the OAuth 2.0 Authorization on collection stopped working. After clicking "Generate token", I am always getting two errors: - "AUTH_TOKEN_REQUEST_INVALID_RESPONSE" - "Failed to fetch token" I see no requests are made in the network tab. The same configuration without browser extensions, by using browser option, works properly and I can see a successful token request in the network too. ![Image](https://github.com/user-attachments/assets/e7728757-8506-4146-ac42-8eff54f6b392) ### Steps to reproduce 1. use browser extension (I use chrome) 2. define OAuth 2.0 configuration on collection 3. Click "Generate token" 4. Error should be visible ### Environment Production ### Version Local
kerem 2026-03-16 21:59:40 +03:00
Author
Owner

@jamesgeorge007 commented on GitHub (Mar 11, 2025):

Hi, we have a PR with the fix scheduled for the next patch release.

<!-- gh-comment-id:2713641047 --> @jamesgeorge007 commented on GitHub (Mar 11, 2025): Hi, we have a [PR](https://github.com/hoppscotch/hoppscotch/pull/4860) with the fix scheduled for the next patch release.
Author
Owner

@kamilzki commented on GitHub (Mar 13, 2025):

@jamesgeorge007, tested today with a new release, but unfortunately, the problem still exists

<!-- gh-comment-id:2720345394 --> @kamilzki commented on GitHub (Mar 13, 2025): @jamesgeorge007, tested today with a new release, but unfortunately, the problem still exists
Author
Owner

@kamilzki commented on GitHub (Mar 13, 2025):

@jamesgeorge007 sorry! The problem is not resolved -it was a misclick. Please reopen it!

<!-- gh-comment-id:2720361947 --> @kamilzki commented on GitHub (Mar 13, 2025): @jamesgeorge007 sorry! The problem is not resolved -it was a misclick. Please reopen it!
Author
Owner

@jamesgeorge007 commented on GitHub (Mar 13, 2025):

Thanks for confirming; we'll be investigating.

<!-- gh-comment-id:2720378795 --> @jamesgeorge007 commented on GitHub (Mar 13, 2025): Thanks for confirming; we'll be investigating.
Author
Owner

@Bastetoi commented on GitHub (Mar 13, 2025):

same issue here just a "fail to fetch token" meanwhile on postman or curl or ... it works with the same credentials/ authentification url

<!-- gh-comment-id:2721920027 --> @Bastetoi commented on GitHub (Mar 13, 2025): same issue here just a "fail to fetch token" meanwhile on postman or curl or ... it works with the same credentials/ authentification url
Author
Owner

@kamilzki commented on GitHub (Mar 19, 2025):

@jamesgeorge007 The recent fix has successfully resolved the issue. Thanks you so much! 🥳

<!-- gh-comment-id:2736913266 --> @kamilzki commented on GitHub (Mar 19, 2025): @jamesgeorge007 The recent fix has successfully resolved the issue. Thanks you so much! 🥳
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#1831
No description provided.