mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #4694] [MERGED] feat: add support for HAWK authentication #4903
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#4903
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?
📋 Pull Request Information
Original PR: https://github.com/hoppscotch/hoppscotch/pull/4694
Author: @anwarulislam
Created: 1/24/2025
Status: ✅ Merged
Merged: 4/29/2025
Merged by: @jamesgeorge007
Base:
next← Head:feat/hawk📝 Commits (10+)
edb3173feat: added hawk auth6f3d77bfix: hmac sign generator0b0d4ddfeat: added hawk npm packaged996443feat: added hawk authentication9c3a591feat: hawk added to clia854c74feat: hawk auth test files added to cli5b243e5feat: akamai edge grid auth types and ui addedf7e86f3feat: akamai edgegrid auth added360ea7afeat: hawk and akamai utils function91fea3bfeat: akamai eg cli fixtures added📊 Changes
24 files changed (+709 additions, -50 deletions)
View changed files
📝
packages/hoppscotch-cli/src/__tests__/e2e/commands/test.spec.ts(+18 -0)➕
packages/hoppscotch-cli/src/__tests__/e2e/fixtures/collections/hawk-auth-success-coll.json(+43 -0)➕
packages/hoppscotch-cli/src/__tests__/e2e/fixtures/environments/hawk-auth-envs.json(+47 -0)📝
packages/hoppscotch-cli/src/__tests__/unit/fixtures/workspace-access.mock.ts(+13 -13)📝
packages/hoppscotch-cli/src/utils/pre-request.ts(+40 -0)📝
packages/hoppscotch-common/locales/en.json(+2 -1)📝
packages/hoppscotch-common/package.json(+2 -0)📝
packages/hoppscotch-common/src/components/http/Authorization.vue(+18 -0)📝
packages/hoppscotch-common/src/components/http/authorization/AkamaiEG.vue(+1 -1)📝
packages/hoppscotch-common/src/components/http/authorization/HAWK.vue(+14 -6)📝
packages/hoppscotch-common/src/helpers/utils/EffectiveURL.ts(+38 -1)📝
packages/hoppscotch-common/src/services/inspection/inspectors/request.inspector.ts(+16 -0)📝
packages/hoppscotch-common/src/services/persistence/__tests__/__mocks__/index.ts(+2 -2)📝
packages/hoppscotch-data/src/collection/index.ts(+4 -2)➕
packages/hoppscotch-data/src/collection/v/7.ts(+37 -0)📝
packages/hoppscotch-data/src/index.ts(+2 -0)📝
packages/hoppscotch-data/src/rest/index.ts(+9 -5)➕
packages/hoppscotch-data/src/rest/v/12.ts(+85 -0)➕
packages/hoppscotch-data/src/utils/akamai-eg.ts(+65 -0)➕
packages/hoppscotch-data/src/utils/hawk.ts(+146 -0)...and 4 more files
📄 Description
Closes HFE-715
This pull request introduces support for HAWK authentication in the Hoppscotch CLI and web application, alongside related updates to the codebase. Key changes include the addition of HAWK authentication handling in request processing, updates to the schema and UI, and the inclusion of new utilities for advanced configurations.
Note to Reviewer
To test in the CLI, run this command.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.