mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #4970] [bug]: Removed value for environment variables persists in OAuth2.0 token generation in Hoppscotch #1882
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#1882
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 @rajkumar-cp on GitHub (Apr 8, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/4970
Is there an existing issue for this?
Current behavior
When attempting to generate an OAuth2.0 token using Hoppscotch, the token generation succeeds even after the environment variables client_id and client_secret have been set to empty. This behavior is unexpected, as the token generation should fail without valid credentials
Steps to reproduce
Expected Result:
Token generation should fail due to the absence of valid client_id and client_secret.
Actual Result:
Token generation is successful even when client_id and client_secret are empty.
Logs and Screenshots
Environment
Production
Hoppscotch Version
Self-hosted
Interceptor
Browser - Web App
Browsers Affected
Chrome
Operating System
Windows
Additional Information
No response