mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[GH-ISSUE #5218] [bug]: Blank page when generating OAuth 2 credentials #1990
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#1990
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 @AshCorr on GitHub (Jul 2, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5218
Originally assigned to: @CuriousCorrelation on GitHub.
Is there an existing issue for this?
Platform
Desktop App
Browser
Firefox
Operating System
macOS
Bug Description
After configuring the "OAuth 2" authorizer using the "Authorization Code" grant, I get a blank page after trying to generate a token. Checking the network tab it looks like I make it through our OAuth flow and I am redirected back to
app://hoppscotch/oauth?code=(code)&state=(state)where I get a 404 from Hoppscotch.This seems to have broke at some point as I was previously able to generate tokens until I updated to the latest version of the desktop app. I also noticed at the same time that the Hoppscotch redirect URI changed from "tauri://localhost/oauth" to "app://hoppscotch/oauth" which I'm unsure is related or not.
Tried reverting to V25.1.1-2 and it looks like it still worked at that point.
Deployment Type
Hoppscotch Cloud
Version
No response
@amantiwari57 commented on GitHub (Jul 4, 2025):
Hey @CuriousCorrelation — just wanted to check, is this behavior happening across all OAuth providers, or is it specific to one? I was able to sign in using Google without any issues, so wondering if it's isolated to a particular provider or config.
Also, could the change from tauri://localhost/oauth to app://hoppscotch/oauth be related?
Happy to help test on my end if needed!
@CuriousCorrelation commented on GitHub (Jul 4, 2025):
Hi @amantiwari57, this issue is about OAuth 2 authorization for API testing, not signing into Hoppscotch itself.
This is already mentioned in the original issue description. The change is expected, it's the callback handling that's failing, or rather the comms channel between them.
@amantiwari57 commented on GitHub (Jul 4, 2025):
ohh will test it