[GH-ISSUE #3803] [bug]: Cannot login using Magic Link in windows 11 desktop application #1332

Closed
opened 2026-03-16 19:53:05 +03:00 by kerem · 4 comments
Owner

Originally created by @nourkilany on GitHub (Feb 4, 2024).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3803

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

When I choose to login with email and type my company email and click on magic link it says that the magic link is sent to my email although I don't get any emails.

Upon inspecting I found that there is a request that return 403 to the url https://identitytoolkit.googleapis.com/v1/accounts
and the response body is

{
  "error": {
    "code": 403,
    "message": "Requests from referer https://tauri.localhost are blocked.",
    "errors": [
      {
        "message": "Requests from referer https://tauri.localhost are blocked.",
        "domain": "global",
        "reason": "forbidden"
      }
    ],
    "status": "PERMISSION_DENIED",
    "details": [
      {
        "@type": "type.googleapis.com/google.rpc.ErrorInfo",
        "reason": "API_KEY_HTTP_REFERRER_BLOCKED",
        "domain": "googleapis.com",
        "metadata": {
          "consumer": "projects/421993993223",
          "service": "identitytoolkit.googleapis.com"
        }
      }
    ]
  }
}

When I login from the web client it sends the emails just fine this is exclusive to the desktop application
PS: I have the latest hoppscotch version installed and I am on Windows 11

Steps to reproduce

  1. Go to login
  2. Click on continue with email
  3. write email
  4. nothing arrives to the inbox

Environment

Production

Version

Cloud

Originally created by @nourkilany on GitHub (Feb 4, 2024). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3803 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current behavior When I choose to login with email and type my company email and click on magic link it says that the magic link is sent to my email although I don't get any emails. Upon inspecting I found that there is a request that return 403 to the url `https://identitytoolkit.googleapis.com/v1/accounts` and the response body is ``` { "error": { "code": 403, "message": "Requests from referer https://tauri.localhost are blocked.", "errors": [ { "message": "Requests from referer https://tauri.localhost are blocked.", "domain": "global", "reason": "forbidden" } ], "status": "PERMISSION_DENIED", "details": [ { "@type": "type.googleapis.com/google.rpc.ErrorInfo", "reason": "API_KEY_HTTP_REFERRER_BLOCKED", "domain": "googleapis.com", "metadata": { "consumer": "projects/421993993223", "service": "identitytoolkit.googleapis.com" } } ] } } ``` When I login from the web client it sends the emails just fine this is exclusive to the desktop application PS: I have the latest hoppscotch version installed and I am on Windows 11 ### Steps to reproduce 1. Go to login 2. Click on continue with email 3. write email 4. nothing arrives to the inbox ### Environment Production ### Version Cloud
kerem 2026-03-16 19:53:05 +03:00
Author
Owner

@sibbl commented on GitHub (Feb 6, 2024):

Same issue here. Email magic link login via browser works fine. Email magic link login via Windows app is broken.

It also seems that the origin header isn't the only problem here.
I've copied the request to curl and replaced the app's value https://tauri.localhost with https://hoppscotch.io.

This request succeeded and I received an email.

The email then redirected me to http://localhost:56000/enter?apiKey=removed&oobCode=removed&mode=signIn&lang=en. This site showed "You can close this page and switch back to app." in my browser but nothing happened in the hoppscotch Windows app.

After refreshing the site, it doesn't seem to be there anymore. So something happened when opening the URL, but it didn't sign me into the hoppscotch Windows app.

<!-- gh-comment-id:1928930778 --> @sibbl commented on GitHub (Feb 6, 2024): Same issue here. Email magic link login via browser works fine. Email magic link login via Windows app is broken. It also seems that the `origin` header isn't the only problem here. I've copied the request to curl and replaced the app's value `https://tauri.localhost` with `https://hoppscotch.io`. This request succeeded and I received an email. The email then redirected me to `http://localhost:56000/enter?apiKey=removed&oobCode=removed&mode=signIn&lang=en`. This site showed "You can close this page and switch back to app." in my browser but nothing happened in the hoppscotch Windows app. After refreshing the site, it doesn't seem to be there anymore. So something happened when opening the URL, but it didn't sign me into the hoppscotch Windows app.
Author
Owner

@Ixiodor commented on GitHub (Mar 29, 2024):

+1.
Same problem, more than 1 month without resolution.

<!-- gh-comment-id:2027389276 --> @Ixiodor commented on GitHub (Mar 29, 2024): +1. Same problem, more than 1 month without resolution.
Author
Owner

@liyasthomas commented on GitHub (Mar 4, 2025):

Thanks for your patience and valuable feedback. We’ve fixed this bug in the latest release.
Download the latest builds and provide your valuable feedback.

Closing this ticket as this bug is now fixed in the recent version. Please feel free to reach out if you have any other concerns.

<!-- gh-comment-id:2697227682 --> @liyasthomas commented on GitHub (Mar 4, 2025): Thanks for your patience and valuable feedback. We’ve fixed this bug in the latest release. [Download the latest builds](https://hoppscotch.com/download) and provide your valuable feedback. Closing this ticket as this bug is now fixed in the recent version. Please feel free to reach out if you have any other concerns.
Author
Owner

@transtone commented on GitHub (May 24, 2025):

Thanks for your patience and valuable feedback. We’ve fixed this bug in the latest release. Download the latest builds and provide your valuable feedback.

Closing this ticket as this bug is now fixed in the recent version. Please feel free to reach out if you have any other concerns.

not fixed yet.

There was an error processing your login... when process login in web browser.

v2025.4.2

<!-- gh-comment-id:2906689763 --> @transtone commented on GitHub (May 24, 2025): > Thanks for your patience and valuable feedback. We’ve fixed this bug in the latest release. [Download the latest builds](https://hoppscotch.com/download) and provide your valuable feedback. > > Closing this ticket as this bug is now fixed in the recent version. Please feel free to reach out if you have any other concerns. not fixed yet. `There was an error processing your login...` when process login in web browser. `v2025.4.2`
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#1332
No description provided.