Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

fix: use correct callback URL for GitHub provider infra config

jamesgeorge00719086252971b
diff --git a/packages/hoppscotch-sh-admin/src/composables/useConfigHandler.ts b/packages/hoppscotch-sh-admin/src/composables/useConfigHandler.ts
index a01c5f210..81ff83b45 100644
--- a/packages/hoppscotch-sh-admin/src/composables/useConfigHandler.ts
+++ b/packages/hoppscotch-sh-admin/src/composables/useConfigHandler.ts
@@ -97,7 +97,7 @@ export function useConfigHandler(updatedConfigs?: ServerConfigs) {
fields: {
client_id: getFieldValue(InfraConfigEnum.GithubClientId),
client_secret: getFieldValue(InfraConfigEnum.GithubClientSecret),
- callback_url: getFieldValue(InfraConfigEnum.GoogleCallbackUrl),
+ callback_url: getFieldValue(InfraConfigEnum.GithubCallbackUrl),
scope: getFieldValue(InfraConfigEnum.GithubScope),
},
},