mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #2259] [feature]: Authorization setting at Collection level #778
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#778
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 @minhnguyen-ew on GitHub (Apr 13, 2022).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2259
Is there an existing issue for this?
Summary
In Postman, you can set up an authorization method at the Collection level and all of the requests in that collection will inherit that authorization method (unless you override that in the endpoints themself). We can try to provide a similar mechanism here.
Why should this be worked on?
This is useful for a collection with many different requests (for example, I am working on one which has nearly 100 requests) so you don't need to set up the same authorization method request by request.
Yes, I acknowledged that we can duplicate an endpoint to create another one. But in my case, I imported my collection from Postman. And since I set up the authorization method at the Collection level on Postman, all the requests in the collection don't have one on their own. That means I will need to go and config the authorization method for each request after importing (which is too much work).
@stratosgear commented on GitHub (Sep 30, 2022):
Just wanted to add that conceptually, since all API calls in a collection refer to a single API server (otherwise they would not be in that collection) the Authorization method should be common to all of them. No need to duplicate it in all API calls of the collection.
This is one of the most critical missing features that prevents us from adoption of Hoppscotch... :)
@CodeMonkey80s commented on GitHub (Jun 16, 2023):
Any news about this feature? This is really crucial functionality especially for any person with a lots of endpoints defined.
@stratosgear commented on GitHub (Jun 16, 2023):
We have had great success with the Thunderclient VS Code extension. We really liked Hopscotch but we had to actually choose a tool and that's where we ended up. A nice plus is that all requests/collections are saved withing the project repo so they are always locally available and never lost...
@radekpribyl commented on GitHub (Sep 12, 2023):
I'd like to understand the status too - we are also evaluating Hopscotch and this missing feature might be a blocker
@liyasthomas commented on GitHub (Sep 12, 2023):
We've prioritized this feature for the next major release, which should happen in December.
@iam-vatha commented on GitHub (Sep 13, 2023):
Thanks.. My team is in the same boat as previous posters. Looking forward to an update as your application is quite good alternative to Postman otherwise.
@pavelicii commented on GitHub (Sep 26, 2023):
@liyasthomas Will it be possible to also define pre-request script at collection level?
@bforbis commented on GitHub (Oct 23, 2023):
This seems related to #1741
@liyasthomas commented on GitHub (Dec 20, 2023):
Thanks for your patience and valuable feedback. This feature has been implemented in the latest release.
Closing this ticket as this feature is now available in the recent version. Feel free to reach out if you encounter any further concerns.
Documentation: https://docs.hoppscotch.io/documentation/features/collections#collection-properties