[GH-ISSUE #4981] [bug]: Token request for Authorization is blocked because CORS Missing Allow Origin #1891

Open
opened 2026-03-16 22:17:10 +03:00 by kerem · 0 comments
Owner

Originally created by @gl0bix on GitHub (Apr 10, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4981

Is there an existing issue for this?

  • I have searched existing issues and this bug hasn't been reported yet

Current behavior

In my Hoppscotch frontend, when I want to generate an auth token, I'm forwarded to the login site of my Web Portal.
After the redirect URL brings me back to hoppscotch the token is requested but blocked because CORS Missing Allow Origin

Furthermore, the environment is deselected

Steps to reproduce

  1. Set environment and fill the authorization form

Image

  1. Click on generate token (login flow with redirect to hoppscotch), Token request fails

Image

Image

Image

Logs and Screenshots


Environment

Production

Hoppscotch Version

Self-hosted

Interceptor

Browser - Web App

Browsers Affected

Firefox

Operating System

Linux

Additional Information

No response

Originally created by @gl0bix on GitHub (Apr 10, 2025). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4981 ### Is there an existing issue for this? - [x] I have searched existing issues and this bug hasn't been reported yet ### Current behavior In my Hoppscotch frontend, when I want to generate an auth token, I'm forwarded to the login site of my Web Portal. After the redirect URL brings me back to hoppscotch the token is requested but blocked because `CORS Missing Allow Origin` Furthermore, the environment is deselected ### Steps to reproduce 1. Set environment and fill the authorization form ![Image](https://github.com/user-attachments/assets/063136a0-65e9-4655-a47c-35528ac2ca9e) 2. Click on generate token (login flow with redirect to hoppscotch), Token request fails ![Image](https://github.com/user-attachments/assets/6ce02595-47ee-4a81-8fe8-df1c9bd84105) ![Image](https://github.com/user-attachments/assets/e154cfa0-b818-4087-b351-1110269428a0) ![Image](https://github.com/user-attachments/assets/e79af57b-3005-40ce-98d4-f00a81d859ae) ### Logs and Screenshots ```shell ``` ### Environment Production ### Hoppscotch Version Self-hosted ### Interceptor Browser - Web App ### Browsers Affected Firefox ### Operating System Linux ### Additional Information _No response_
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#1891
No description provided.