mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[GH-ISSUE #4954] [feature]: Support extra headers in OAuth 2.0 Authorization Code flow #1870
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#1870
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 @ktriple on GitHub (Apr 3, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4954
Is there an existing issue for this?
Summary
We should be able to add custom headers to the OAuth 2.0 Authorization Code flow (like Postman supports).
There is a tab named Headers in the pop-up, but I believe these are only send in the actual collection requests.
Why should this be worked on?
When working with (C)IAM services like Auth0, to successfully retrieve a correct JWT, you need to add an Audience header in the GET /authorization request.
Without this, you are not able to get a (JW) token for one of the bigger CIAM services out there.
In Postman it looks like this, simple but effective:

Thanks for looking into this.
@JakobStadlhuber commented on GitHub (Apr 11, 2025):
There are also missing features regarding zitadel compaired to postman
@ktriple commented on GitHub (Apr 14, 2025):
Obvious workaround for Auth0 that I found, you can of course in many cases just add the parameters after the /authorize URL..
/authorize?audience=xxxxxxThis would not work with headers, but for Auth0 this has been my lifesaver so it seems.
@ktriple commented on GitHub (Apr 14, 2025):
I believe I've accidentally created a semi-duplicate. Although there is a difference in the authorization type.
https://github.com/hoppscotch/hoppscotch/issues/4064