[PR #3264] [MERGED] feat: load allowed login methods from .env #4308

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

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/3264
Author: @amk-dev
Created: 8/18/2023
Status: Merged
Merged: 8/18/2023
Merged by: @AndrewBastin

Base: release/2023.8.0Head: feat/load-login-providers-from-env


📝 Commits (3)

  • f33c034 refactor: refactor Login.vue to script setup
  • 7d412d5 feat: load allowed auth providers from env
  • 54e31ba fix: call provider action instead of just github on provider click

📊 Changes

1 file changed (+200 additions, -161 deletions)

View changed files

📝 packages/hoppscotch-common/src/components/firebase/Login.vue (+200 -161)

📄 Description

Closes HP-78

Before

  • All the login methods where hard coded and shown on UI
  • Login.vue component was using options api

After

  • We load the allowed login methods from .env and display them only on the UI
  • Converted Login.vue to use Composition API

🔄 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/3264 **Author:** [@amk-dev](https://github.com/amk-dev) **Created:** 8/18/2023 **Status:** ✅ Merged **Merged:** 8/18/2023 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `release/2023.8.0` ← **Head:** `feat/load-login-providers-from-env` --- ### 📝 Commits (3) - [`f33c034`](https://github.com/hoppscotch/hoppscotch/commit/f33c034eb9023261d084f5ec593451a72a4a708a) refactor: refactor Login.vue to script setup - [`7d412d5`](https://github.com/hoppscotch/hoppscotch/commit/7d412d528e7dd909a65ccfdb665f74fa333f7d91) feat: load allowed auth providers from env - [`54e31ba`](https://github.com/hoppscotch/hoppscotch/commit/54e31baa824f6c06396fa342d4da1a2e82427737) fix: call provider action instead of just github on provider click ### 📊 Changes **1 file changed** (+200 additions, -161 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-common/src/components/firebase/Login.vue` (+200 -161) </details> ### 📄 Description Closes HP-78 **Before** - All the login methods where hard coded and shown on UI - Login.vue component was using options api **After** - We load the allowed login methods from .env and display them only on the UI - Converted Login.vue to use Composition API --- <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:23 +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#4308
No description provided.