[PR #3246] [MERGED] HBE-248 feat: prefix VITE_ added in conditional auth provider env variable #4301

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

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/3246
Author: @mirarifhasan
Created: 8/7/2023
Status: Merged
Merged: 8/8/2023
Merged by: @AndrewBastin

Base: release/2023.8.0Head: feat/fe-accessible-auth-provider-env


📝 Commits (2)

  • 4a0a5e6 feat: env variable changed
  • a4fdc05 feat: .env.example updated

📊 Changes

4 files changed (+22 additions, -17 deletions)

View changed files

📝 .env.example (+1 -1)
📝 packages/hoppscotch-backend/src/auth/helper.ts (+3 -3)
📝 packages/hoppscotch-backend/src/errors.ts (+6 -6)
📝 packages/hoppscotch-backend/src/utils.ts (+12 -7)

📄 Description

Closes HBE-248

Description

Introducing Seamless Dynamic Authentication Provider Selection

Previously, we relied on the ALLOWED_AUTH_PROVIDERS environment variable. However, we recognized a challenge: the frontend applications were unable to access or read this vital piece of information.

To ensure a harmonious connection between the frontend and the backend, we've revamped the environment variable nomenclature. Say hello to VITE_ALLOWED_AUTH_PROVIDERS – our new, unified identifier that effortlessly synchronizes authentication provider preferences across the board.

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

Change .env variable ALLOWED_AUTH_PROVIDERS -> VITE_ALLOWED_AUTH_PROVIDERS


🔄 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/3246 **Author:** [@mirarifhasan](https://github.com/mirarifhasan) **Created:** 8/7/2023 **Status:** ✅ Merged **Merged:** 8/8/2023 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `release/2023.8.0` ← **Head:** `feat/fe-accessible-auth-provider-env` --- ### 📝 Commits (2) - [`4a0a5e6`](https://github.com/hoppscotch/hoppscotch/commit/4a0a5e6a04bc397e7f7e751c440b5035c8957279) feat: env variable changed - [`a4fdc05`](https://github.com/hoppscotch/hoppscotch/commit/a4fdc05b5ff7c7b3a62775072e8ec4e841d2e35f) feat: .env.example updated ### 📊 Changes **4 files changed** (+22 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `.env.example` (+1 -1) 📝 `packages/hoppscotch-backend/src/auth/helper.ts` (+3 -3) 📝 `packages/hoppscotch-backend/src/errors.ts` (+6 -6) 📝 `packages/hoppscotch-backend/src/utils.ts` (+12 -7) </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 --> <!-- Issue # here --> Closes HBE-248 ### Description <!-- Add a brief description of the pull request --> Introducing Seamless Dynamic Authentication Provider Selection Previously, we relied on the `ALLOWED_AUTH_PROVIDERS` environment variable. However, we recognized a challenge: the frontend applications were unable to access or read this vital piece of information. To ensure a harmonious connection between the frontend and the backend, we've revamped the environment variable nomenclature. Say hello to `VITE_ALLOWED_AUTH_PROVIDERS` – our new, unified identifier that effortlessly synchronizes authentication provider preferences across the board. <!-- You can also choose to add a list of changes and if they have been completed or not by using the markdown to-do list syntax - [ ] Not Completed - [x] Completed --> ### 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 - [x] All the tests have passed ### Additional Information <!-- Any additional information like breaking changes, dependencies added, screenshots, comparisons between new and old behaviour, etc. --> Change .env variable `ALLOWED_AUTH_PROVIDERS` -> `VITE_ALLOWED_AUTH_PROVIDERS` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 01:51:07 +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#4301
No description provided.