mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #5424] [bug]: Login desktop app #2083
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#2083
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @floviolleau on GitHub (Oct 1, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5424
Originally assigned to: @CuriousCorrelation on GitHub.
Is there an existing issue for this?
Platform
Desktop App
Browser
Other (specify in additional info)
Operating System
Linux
Bug Description
What happened?
I'm unable to login with Linux desktop app.
Version are the same between Web and Desktop 2025.9.1
When I click on Login on Destkop, it opens a new tab on my browser and I'm redirected to the destkop app and it spin loops forever.
If I open dev-tools CTRL + SHIFT + I, I can see my tokens in the console log:
In the network tab, I have t his 400 Bad Request:
Here is my docker-compose.yml:
Here is my nginx vhost:
Deployment Type
Self-hosted (on-prem deployment)
Version
2025.9.1
@CuriousCorrelation commented on GitHub (Oct 3, 2025):
Hello @floviolleau, Thanks for the report.
The 400 Bad Request error combined with the infinite spinner typically points to the desktop application failing to communicate with your backend and might not necessarily be a bug with the desktop app.
Although just to be sure, could you please check the desktop app’s logs?
For Linux, those typically reside in
~/.local/share/io.hoppscotch.desktop/logs/io.hoppscotch.desktop.log.Look for requests and errors around the time of login attempts.
It could also be related to how you have set up nginx + SSL. The desktop app needs to trust your SSL certificates for it to make requests to the hosted backend.
Try this temporary test to see if it's certificate related:
This is similar to the issue discussed in #4875.
Also just in case you haven’t - make sure your
.envfile includes the desktop app origins in the correct format. Forhttps://hoppscotch.test.dev, you need:Note that dots (
.) in your domain should be replaced with underscores (_), and you need bothapp://andhttp://app.prefixes.@techieadi4703 commented on GitHub (Oct 6, 2025):
I'm interested in this issue can you assign me this issue to me. @floviolleau @CuriousCorrelation @abraham @silentmatt @kant
@liyasthomas commented on GitHub (Oct 6, 2025):
Feel free to give it a try @techieadi4703.
@floviolleau commented on GitHub (Dec 19, 2025):
Hi,
Thanks @CuriousCorrelation for all hints but since the new version it seems to be solved (I upgraded to Desktop: 2025.3.0 and backoffice:
But now I have inside Desktop app at https://hoppscotch.test.dev/backend/graphql:
Failed to load resource: Access-Control-Allow-Origin cannot contain more than one origin.
Here is my updated nginx config: