Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

@billhennessy

Description

@billhennessy

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingneed testingNeeds to be tested before merging onto production

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions