[GH-ISSUE #5709] [feature]: Use initial value if current value is empty on OAuth2 workflow env var resolution #2221

Open
opened 2026-03-16 23:37:29 +03:00 by kerem · 0 comments
Owner

Originally created by @jazuntee on GitHub (Dec 18, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5709

Is there an existing issue for this?

  • I have searched the existing issues

Summary

When resolving environment variables, there was a previous update to fallback to initial value when current value is empty. https://github.com/hoppscotch/hoppscotch/pull/5162

However, the OAuth2 authorization variable resolution does not have this fallback. This should also allow fallback for consistency.

Why should this be worked on?

The expectation is currently that variable resolution will fallback to initial value when current value is empty. That should apply consistently everywhere, including when making OAuth2 authorization calls. It will also clear up confusion when the variable shows as resolving but the Generate Token returns a Form validation error.

Originally created by @jazuntee on GitHub (Dec 18, 2025). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5709 ### Is there an existing issue for this? - [x] I have searched the existing issues ### Summary When resolving environment variables, there was a previous update to fallback to initial value when current value is empty. https://github.com/hoppscotch/hoppscotch/pull/5162 However, the OAuth2 authorization variable resolution does not have this fallback. This should also allow fallback for consistency. ### Why should this be worked on? The expectation is currently that variable resolution will fallback to initial value when current value is empty. That should apply consistently everywhere, including when making OAuth2 authorization calls. It will also clear up confusion when the variable shows as resolving but the Generate Token returns a Form validation error.
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#2221
No description provided.