mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #1377] Too much permissions for GitHub Auth #449
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#449
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?
Originally created by @yhnavein on GitHub (Dec 10, 2020).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1377
Describe the bug
When you want to authenticate with GitHub there is definitely too much permissions being requested. Giving WRITE access to all of my repositories and gists (public and private) is a big no-no. It's potentially a security issue.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Only permissions to see user's email is expected
Screenshots

@liyasthomas commented on GitHub (Dec 10, 2020):
@yhnavein well, that's certainly not the case. Since #1367 and #1358, users can now:
And these feature are only available for users who've signed in with GitHub. In near future we're also going to add syncing with repositories under team collaboration. So that explains why Hoppscotch GitHub OAuth app requires gist and repo permissions.
Since you raised this concern, I'll turn off repo permission for now since that feature is a WIP. But gist permission is mandatory to activate all the above mentioned features. You are always free to "Login with Google" to access Hoppscotch without gist sync feature. Thanks for reaching out. Will be turning off repo permissions for now.