mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[PR #3561] [CLOSED] Feat/selfhosted desktop backend auth #4434
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#4434
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/3561
Author: @rokibulislaam
Created: 11/16/2023
Status: ❌ Closed
Base:
main← Head:feat/selfhosted-desktop-backend-auth📝 Commits (5)
513403cfeat(backend): add desktop auth deeplink callback4fc29d3fix(desktop): fix invalid csp value 'nil' in tauri.conf.json7650b37feat(desktop): add urql fetch & subscription exchanges w/ cookie support189fae2fix(backend): remove test cookie from callback9b20994Delete packages/hoppscotch-common/src/components.d.ts📊 Changes
13 files changed (+542 additions, -292 deletions)
View changed files
📝
.env.example(+1 -0)📝
packages/hoppscotch-backend/src/auth/auth.controller.ts(+11 -6)📝
packages/hoppscotch-backend/src/auth/helper.ts(+12 -0)➖
packages/hoppscotch-common/src/components.d.ts(+0 -222)📝
packages/hoppscotch-selfhost-desktop/package.json(+6 -0)📝
packages/hoppscotch-selfhost-desktop/src-tauri/Cargo.lock(+69 -1)📝
packages/hoppscotch-selfhost-desktop/src-tauri/Cargo.toml(+1 -0)📝
packages/hoppscotch-selfhost-desktop/src-tauri/src/main.rs(+1 -0)📝
packages/hoppscotch-selfhost-desktop/src-tauri/tauri.conf.json(+1 -1)➕
packages/hoppscotch-selfhost-desktop/src/helpers/GQLClient.ts(+168 -0)➕
packages/hoppscotch-selfhost-desktop/src/helpers/wsWrapper.ts(+154 -0)📝
packages/hoppscotch-selfhost-desktop/src/platform/auth.ts(+80 -48)📝
pnpm-lock.yaml(+38 -14)📄 Description
Closes #3544
Description
Checks
Additional Information
Dependencies Added
Desktop - package.json
Desktop - Cargo.toml
Enivonrment Variables Added
PR Features
access_tokenandrefresh_tokeninto the cookie from tauri's store.tauri-plugin-websocket-api, enabling support forsubscriptions-transport-wswhile injecting cookies from tauri's store.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.