[PR #3298] [CLOSED] feat: enable client-credentials oauth flow #4334

Closed
opened 2026-03-17 01:52:44 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/3298
Author: @lordvlad
Created: 8/28/2023
Status: Closed

Base: mainHead: client-credentials


📝 Commits (1)

  • f4c1cdb feat: enable client-credentials oauth flow

📊 Changes

5 files changed (+135 additions, -7 deletions)

View changed files

📝 packages/hoppscotch-common/locales/en.json (+4 -1)
📝 packages/hoppscotch-common/src/components.d.ts (+33 -0)
📝 packages/hoppscotch-common/src/components/http/OAuth2Authorization.vue (+58 -2)
📝 packages/hoppscotch-common/src/helpers/oauth.js (+38 -4)
📝 packages/hoppscotch-data/src/rest/HoppRESTAuth.ts (+2 -0)

📄 Description

Closes #874 partially, supercedes #2209

Description

Adds the option to use the OAuth 2.0 Client Credentials flow.
Adds the option to send Oauth 2.0 Client Credentials in POST body or in Authorization Header.

image

  • Nicer UI
  • Show 'Place client credentials in' option only if 'client credentials' is checked
  • Update docs
  • Update tests

Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

Additional Information


🔄 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/3298 **Author:** [@lordvlad](https://github.com/lordvlad) **Created:** 8/28/2023 **Status:** ❌ Closed **Base:** `main` ← **Head:** `client-credentials` --- ### 📝 Commits (1) - [`f4c1cdb`](https://github.com/hoppscotch/hoppscotch/commit/f4c1cdba49ddcc32a55c95e30955042ee713e692) feat: enable client-credentials oauth flow ### 📊 Changes **5 files changed** (+135 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/locales/en.json` (+4 -1) 📝 `packages/hoppscotch-common/src/components.d.ts` (+33 -0) 📝 `packages/hoppscotch-common/src/components/http/OAuth2Authorization.vue` (+58 -2) 📝 `packages/hoppscotch-common/src/helpers/oauth.js` (+38 -4) 📝 `packages/hoppscotch-data/src/rest/HoppRESTAuth.ts` (+2 -0) </details> ### 📄 Description <!-- Thanks for creating this pull request 🤗 Please make sure that the pull request is limited to one type (docs, feature, etc.) and keep it as small as possible. You can open multiple prs instead of opening a huge one. --> <!-- If this pull request closes an issue, please mention the issue number below --> Closes #874 partially, supercedes #2209 <!-- Issue # here --> ### Description Adds the option to use the OAuth 2.0 Client Credentials flow. Adds the option to send Oauth 2.0 Client Credentials in POST body or in Authorization Header. ![image](https://github.com/hoppscotch/hoppscotch/assets/1217769/57a3fa92-6ee3-4901-9fe6-0a1c51c54cbc) <!-- Add a brief description of the pull request --> - [ ] Nicer UI - [ ] Show 'Place client credentials in' option only if 'client credentials' is checked - [ ] Update docs - [ ] Update tests ### Checks <!-- Make sure your pull request passes the CI checks and do check the following fields as needed - --> - [x] My pull request adheres to the code style of this project - [ ] My code requires changes to the documentation - [ ] I have updated the documentation as required - [ ] All the tests have passed ### Additional Information <!-- Any additional information like breaking changes, dependencies added, screenshots, comparisons between new and old behaviour, etc. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 01:52:44 +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#4334
No description provided.