[PR #4142] [MERGED] feat: add support for AWS Signature authorization #4679

Closed
opened 2026-03-17 02:11:35 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/4142
Author: @anwarulislam
Created: 6/24/2024
Status: Merged
Merged: 8/30/2024
Merged by: @jamesgeorge007

Base: nextHead: feat/new-auth


📝 Commits (10+)

  • 8b6c363 feat: auth types array added
  • 7c948a8 feat: hopp rest v5 schema added
  • 2204d31 feat: aws-signature auth type added
  • 2cae98f fix: hoppscotch-data build errors
  • 72bd414 feat: new auth components added
  • bd903c1 feat: fields are added for auth types
  • bedd5cf chore: utils function created for reuse
  • 2c6cd7d feat: aws signature generator added
  • 8749be1 feat: aws signature partially working
  • 447da34 feat: aws signature fixed on queryparams

📊 Changes

26 files changed (+1490 additions, -657 deletions)

View changed files

📝 packages/hoppscotch-common/locales/en.json (+10 -1)
📝 packages/hoppscotch-common/package.json (+1 -0)
📝 packages/hoppscotch-common/src/components.d.ts (+223 -215)
📝 packages/hoppscotch-common/src/components/graphql/Authorization.vue (+78 -86)
📝 packages/hoppscotch-common/src/components/graphql/Headers.vue (+44 -14)
📝 packages/hoppscotch-common/src/components/graphql/RequestOptions.vue (+51 -53)
📝 packages/hoppscotch-common/src/components/http/Authorization.vue (+51 -75)
📝 packages/hoppscotch-common/src/components/http/Headers.vue (+15 -13)
packages/hoppscotch-common/src/components/http/authorization/ASAP.vue (+192 -0)
packages/hoppscotch-common/src/components/http/authorization/AWSSign.vue (+140 -0)
packages/hoppscotch-common/src/components/http/authorization/AkamaiEG.vue (+96 -0)
packages/hoppscotch-common/src/components/http/authorization/HAWK.vue (+152 -0)
packages/hoppscotch-common/src/components/http/authorization/NTLM.vue (+77 -0)
📝 packages/hoppscotch-common/src/components/http/authorization/OAuth2.vue (+2 -55)
📝 packages/hoppscotch-common/src/helpers/RequestRunner.ts (+4 -2)
packages/hoppscotch-common/src/helpers/auth/index.ts (+56 -0)
📝 packages/hoppscotch-common/src/helpers/graphql/connection.ts (+28 -0)
📝 packages/hoppscotch-common/src/helpers/graphql/index.ts (+0 -12)
📝 packages/hoppscotch-common/src/helpers/utils/EffectiveURL.ts (+106 -41)
📝 packages/hoppscotch-common/src/newstore/collections.ts (+2 -2)

...and 6 more files

📄 Description

Closes HFE-492

What's changed

This PR adds AWS Signature as a new request auth type.

image
  • Not Completed
  • Completed

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/4142 **Author:** [@anwarulislam](https://github.com/anwarulislam) **Created:** 6/24/2024 **Status:** ✅ Merged **Merged:** 8/30/2024 **Merged by:** [@jamesgeorge007](https://github.com/jamesgeorge007) **Base:** `next` ← **Head:** `feat/new-auth` --- ### 📝 Commits (10+) - [`8b6c363`](https://github.com/hoppscotch/hoppscotch/commit/8b6c3633c5a5d824328236f8ff8eef0e87e0d22a) feat: auth types array added - [`7c948a8`](https://github.com/hoppscotch/hoppscotch/commit/7c948a8642a39fc6655906d6e00457d75ff85a49) feat: hopp rest v5 schema added - [`2204d31`](https://github.com/hoppscotch/hoppscotch/commit/2204d316b7f4e8079994bcf3f4113d624054619f) feat: aws-signature auth type added - [`2cae98f`](https://github.com/hoppscotch/hoppscotch/commit/2cae98fb179199c34129f90d99d48add95266a41) fix: hoppscotch-data build errors - [`72bd414`](https://github.com/hoppscotch/hoppscotch/commit/72bd4142ac1a1890720137362f015b0fd7b32fcd) feat: new auth components added - [`bd903c1`](https://github.com/hoppscotch/hoppscotch/commit/bd903c1ecb8c76b4e093c3266888155116b3ad0f) feat: fields are added for auth types - [`bedd5cf`](https://github.com/hoppscotch/hoppscotch/commit/bedd5cf224e93d5aceba7ad32d7a7400e0379ad1) chore: utils function created for reuse - [`2c6cd7d`](https://github.com/hoppscotch/hoppscotch/commit/2c6cd7dc2eca7b13dbbbc47e7eab3f78ce5b6a06) feat: aws signature generator added - [`8749be1`](https://github.com/hoppscotch/hoppscotch/commit/8749be12fe07e6e2697576f5ca21b4821f9da2b7) feat: aws signature partially working - [`447da34`](https://github.com/hoppscotch/hoppscotch/commit/447da347b279df46923aba0ca69824c9bb9f3a4f) feat: aws signature fixed on queryparams ### 📊 Changes **26 files changed** (+1490 additions, -657 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/locales/en.json` (+10 -1) 📝 `packages/hoppscotch-common/package.json` (+1 -0) 📝 `packages/hoppscotch-common/src/components.d.ts` (+223 -215) 📝 `packages/hoppscotch-common/src/components/graphql/Authorization.vue` (+78 -86) 📝 `packages/hoppscotch-common/src/components/graphql/Headers.vue` (+44 -14) 📝 `packages/hoppscotch-common/src/components/graphql/RequestOptions.vue` (+51 -53) 📝 `packages/hoppscotch-common/src/components/http/Authorization.vue` (+51 -75) 📝 `packages/hoppscotch-common/src/components/http/Headers.vue` (+15 -13) ➕ `packages/hoppscotch-common/src/components/http/authorization/ASAP.vue` (+192 -0) ➕ `packages/hoppscotch-common/src/components/http/authorization/AWSSign.vue` (+140 -0) ➕ `packages/hoppscotch-common/src/components/http/authorization/AkamaiEG.vue` (+96 -0) ➕ `packages/hoppscotch-common/src/components/http/authorization/HAWK.vue` (+152 -0) ➕ `packages/hoppscotch-common/src/components/http/authorization/NTLM.vue` (+77 -0) 📝 `packages/hoppscotch-common/src/components/http/authorization/OAuth2.vue` (+2 -55) 📝 `packages/hoppscotch-common/src/helpers/RequestRunner.ts` (+4 -2) ➕ `packages/hoppscotch-common/src/helpers/auth/index.ts` (+56 -0) 📝 `packages/hoppscotch-common/src/helpers/graphql/connection.ts` (+28 -0) 📝 `packages/hoppscotch-common/src/helpers/graphql/index.ts` (+0 -12) 📝 `packages/hoppscotch-common/src/helpers/utils/EffectiveURL.ts` (+106 -41) 📝 `packages/hoppscotch-common/src/newstore/collections.ts` (+2 -2) _...and 6 more files_ </details> ### 📄 Description Closes HFE-492 <!-- Add an introduction into what this PR tries to solve in a couple of sentences --> ### What's changed This PR adds AWS Signature as a new request auth type. <img width="958" alt="image" src="https://github.com/user-attachments/assets/d8bd37c4-24ef-4684-aa9b-fe0a478d6629"> - [ ] Not Completed - [x] Completed --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 02:11:35 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#4679
No description provided.