[GH-ISSUE #5573] [bug]: Basic Auth Variables (password) passing the key (<<var>>) instead of the value #2152

Closed
opened 2026-03-16 23:23:02 +03:00 by kerem · 2 comments
Owner

Originally created by @billhennessy on GitHub (Nov 11, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5573

Originally assigned to: @nivedin on GitHub.

Is there an existing issue for this?

  • I have searched existing issues and this bug hasn't been reported yet

Platform

Web App

Browser

Chrome

Operating System

macOS

Bug Description

What Happened?

When using Basic Auth with environment or collection variables for username and password, Hoppscotch is passing the password variable key instead of the value.

Steps to reproduce

  1. Create environment or collection variables and secrets for username and password:

Example Env or Collection Variables:

  • usersname: myapiuser
  • password (secrets): abc123

Basic Auth Variable Config:

  • var1: <>
  • var2: <>
  1. Make an API call:

Decoded auth token:
`myapiuser:<>

Expected:
myapiuser:abc123

Deployment Type

Hoppscotch Cloud

Version

2025.10.0

Originally created by @billhennessy on GitHub (Nov 11, 2025). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5573 Originally assigned to: @nivedin on GitHub. ### Is there an existing issue for this? - [x] I have searched existing issues and this bug hasn't been reported yet ### Platform Web App ### Browser Chrome ### Operating System macOS ### Bug Description ## What Happened? When using Basic Auth with environment or collection variables for username and password, Hoppscotch is passing the password variable key instead of the value. ## Steps to reproduce 1. Create environment or collection variables and secrets for username and password: Example Env or Collection Variables: - usersname: myapiuser - password (secrets): abc123 Basic Auth Variable Config: - var1: <<username>> - var2: <<password>> 2. Make an API call: Decoded auth token: `myapiuser:<<password>> Expected: `myapiuser:abc123` ### Deployment Type Hoppscotch Cloud ### Version 2025.10.0
kerem 2026-03-16 23:23:02 +03:00
Author
Owner

@nivedin commented on GitHub (Nov 12, 2025):

@billhennessy We tried to reproduce this issue, but it was working fine on our end. Can you please confirm if the reproduction steps below are correct?

https://github.com/user-attachments/assets/818d4116-d519-48cb-b62b-bc565c9f650b

<!-- gh-comment-id:3520406762 --> @nivedin commented on GitHub (Nov 12, 2025): @billhennessy We tried to reproduce this issue, but it was working fine on our end. Can you please confirm if the reproduction steps below are correct? https://github.com/user-attachments/assets/818d4116-d519-48cb-b62b-bc565c9f650b
Author
Owner

@billhennessy commented on GitHub (Nov 13, 2025):

Actually, the problem went away yesterday when I went video the steps. Not sure if it was a caching issue or what, but we can close this. Thanks.

<!-- gh-comment-id:3528879120 --> @billhennessy commented on GitHub (Nov 13, 2025): Actually, the problem went away yesterday when I went video the steps. Not sure if it was a caching issue or what, but we can close this. Thanks.
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#2152
No description provided.