mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[PR #3885] [MERGED] feat: oauth revamp + support for multiple grant types in oauth #4570
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#4570
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/3885
Author: @amk-dev
Created: 3/9/2024
Status: ✅ Merged
Merged: 3/19/2024
Merged by: @AndrewBastin
Base:
release/2024.3.0← Head:feat/oauth-revamp📝 Commits (10+)
f761e42feat: oauth revamp with grant types41e582ffix: resolve type error2ed6d82fix: prevent exceptions with OAuth 2.0 Auth Type under GQLbc2c0e0fix: ensure the fields for Basic & Bearer Auth Types are displayedd749846fix: ensure the access token is set for the tab where the request originated2b372e3fix: account for values referred via request variables under OAuth 2.0 fields57c1161chore: support OAuth 2.0 flow in the collection level authorization/headers modale743f8dchore: extend OAuth 2.0 flow support to GraphQLa3deafafeat: add ability to specify access token via request headers/query paramsfcde2effix: prevent schema validation errors📊 Changes
44 files changed (+2728 additions, -363 deletions)
View changed files
📝
packages/hoppscotch-cli/src/__tests__/samples/collections/collection-level-headers-auth-coll.json(+6 -6)📝
packages/hoppscotch-cli/src/__tests__/samples/collections/env-flag-tests-coll.json(+1 -1)📝
packages/hoppscotch-cli/src/__tests__/samples/collections/fails-coll.json(+5 -11)📝
packages/hoppscotch-cli/src/__tests__/samples/collections/malformed-coll.json(+4 -10)📝
packages/hoppscotch-cli/src/__tests__/samples/collections/passes-coll.json(+4 -10)📝
packages/hoppscotch-cli/src/__tests__/samples/collections/pre-req-script-env-var-persistence-coll.json(+1 -1)📝
packages/hoppscotch-cli/src/__tests__/samples/collections/req-body-env-vars-coll.json(+1 -1)📝
packages/hoppscotch-cli/src/__tests__/samples/collections/secret-envs-coll.json(+6 -6)📝
packages/hoppscotch-cli/src/__tests__/samples/collections/secret-envs-persistence-coll.json(+6 -6)📝
packages/hoppscotch-cli/src/__tests__/samples/collections/secret-envs-persistence-scripting-coll.json(+1 -1)📝
packages/hoppscotch-cli/src/options/test/env.ts(+9 -4)📝
packages/hoppscotch-cli/src/utils/pre-request.ts(+21 -8)📝
packages/hoppscotch-cli/src/utils/request.ts(+18 -12)📝
packages/hoppscotch-common/locales/en.json(+20 -1)📝
packages/hoppscotch-common/src/components.d.ts(+4 -2)📝
packages/hoppscotch-common/src/components/collections/Properties.vue(+36 -9)📝
packages/hoppscotch-common/src/components/collections/graphql/index.vue(+54 -1)📝
packages/hoppscotch-common/src/components/collections/index.vue(+57 -7)📝
packages/hoppscotch-common/src/components/graphql/Authorization.vue(+39 -12)📝
packages/hoppscotch-common/src/components/graphql/Headers.vue(+8 -2)...and 24 more files
📄 Description
This PR introduces support for the following oauth grant types.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.