mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #4276] [bug]: Introspection in GraphQL not working when OAuth2 is active #1553
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#1553
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 @haarhoff-frs on GitHub (Aug 19, 2024).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4276
Is there an existing issue for this?
Current behavior
I have a GraphQL endpoint that requires OAuth2 authentification. When I click on "connect" in the GraphQL screen after entering the endpoind and filling out the authorization details, nothing happens and an error gets logged:
The actual query I want to send does work.
When I allow anonymous access to the GraphQL endpoint, introspection works properly.
Steps to reproduce
Environment
Production
Version
Cloud
@ryanrixxh commented on GitHub (Sep 18, 2024):
I also receive this same error when using Bearer Token Authentication. Requests work, but schema introspection fails.
@ivank commented on GitHub (Nov 13, 2024):
Same error here - I think the "Connect" doesn't take Authorization headers into account at all.
@johan-lindqvist commented on GitHub (Feb 19, 2025):
Any updates on this? Makes it very problematic to use in our case if introspection doesn't support any kind of authorization/api key
@FeuGuillaume186 commented on GitHub (Sep 1, 2025):
I have the same problem and it still hasn’t been resolved, it’s such a shame.