mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #4635] [MERGED] feat: support for sending client credentials via basic auth header #4884
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#4884
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/4635
Author: @amk-dev
Created: 12/19/2024
Status: ✅ Merged
Merged: 1/15/2025
Merged by: @jamesgeorge007
Base:
patch← Head:feat/client-credentials-via-header📝 Commits (10+)
6c3f04bwip34dd359wip3c75886chore: wip3cb1a66chore: add response types and collection schema for v11901554dchore: fix tests25a64fechore: account for schema version bumpsa474d1bchore: remove console logs68cb55dchore: add i18n entries for labelsce5c1e1chore: rename sendAs to clientAuthenticatione04bc3echore: add v10 body to response📊 Changes
26 files changed (+506 additions, -163 deletions)
View changed files
📝
packages/hoppscotch-cli/package.json(+1 -1)📝
packages/hoppscotch-cli/src/__tests__/unit/fixtures/workspace-access.mock.ts(+13 -13)📝
packages/hoppscotch-common/locales/en.json(+4 -1)📝
packages/hoppscotch-common/package.json(+1 -1)📝
packages/hoppscotch-common/src/components/http/Response.vue(+1 -1)📝
packages/hoppscotch-common/src/components/http/authorization/OAuth2.vue(+51 -4)📝
packages/hoppscotch-common/src/helpers/import-export/import/openapi.ts(+3 -1)📝
packages/hoppscotch-common/src/helpers/import-export/import/postman.ts(+1 -1)📝
packages/hoppscotch-common/src/services/oauth/flows/clientCredentials.ts(+66 -26)📝
packages/hoppscotch-common/src/services/persistence/__tests__/__mocks__/index.ts(+5 -5)📝
packages/hoppscotch-data/package.json(+1 -1)📝
packages/hoppscotch-data/src/collection/index.ts(+4 -2)📝
packages/hoppscotch-data/src/collection/v/1.ts(+4 -3)📝
packages/hoppscotch-data/src/collection/v/5.ts(+2 -2)➕
packages/hoppscotch-data/src/collection/v/6.ts(+54 -0)📝
packages/hoppscotch-data/src/graphql/index.ts(+5 -3)➕
packages/hoppscotch-data/src/graphql/v/8.ts(+64 -0)📝
packages/hoppscotch-data/src/rest/index.ts(+16 -13)📝
packages/hoppscotch-data/src/rest/v/10.ts(+0 -1)➕
packages/hoppscotch-data/src/rest/v/11.ts(+146 -0)...and 6 more files
📄 Description
Fixes HFE-695
Changes
Previously when using
oauthwithCLIENT CREDENTIALSflow we only supported sending the client secret and client id via body. this PR adds support for sending them via a basic auth header.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.