[GH-ISSUE #1798] Authorization parameters are doubled when showing/generating code #569

Closed
opened 2026-03-16 16:02:55 +03:00 by kerem · 1 comment
Owner

Originally created by @siroccal on GitHub (Sep 1, 2021).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1798

Originally assigned to: @AndrewBastin on GitHub.

Describe the bug
Two authorization parameters appear if you click on Show code (next to Send). They are doubled for any language and any type of authorization.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Authorization and select any option besides None
  2. Click on Show code (next to Send)

Expected behavior
One authorization parameter in the code.

Screenshots
Screenshot 2021-09-01 at 18-50-25 Hoppscotch - Open source API development ecosystem-or8

Environment and versions

  • Linux 5.13.12 (Fedora 34)
  • Firefox 92
  • Hoppscotch v2.0.0-28-gf357c4f1 (built with npm run generate and run with npm run start)
Originally created by @siroccal on GitHub (Sep 1, 2021). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1798 Originally assigned to: @AndrewBastin on GitHub. **Describe the bug** Two authorization parameters appear if you click on `Show code` (next to `Send`). They are doubled for any language and any type of authorization. **To Reproduce** Steps to reproduce the behavior: 1. Go to `Authorization` and select any option besides `None` 2. Click on `Show code` (next to `Send`) **Expected behavior** One authorization parameter in the code. **Screenshots** ![Screenshot 2021-09-01 at 18-50-25 Hoppscotch - Open source API development ecosystem-or8](https://user-images.githubusercontent.com/41478263/131712069-9bb6dbb7-f28c-4502-bb03-59f1359bd2c2.png) **Environment and versions** - Linux 5.13.12 (Fedora 34) - Firefox 92 - Hoppscotch v2.0.0-28-gf357c4f1 (built with `npm run generate` and run with `npm run start`)
kerem 2026-03-16 16:02:55 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@liyasthomas commented on GitHub (Sep 1, 2021):

We're looking into get this fixed ASAP.

<!-- gh-comment-id:910483107 --> @liyasthomas commented on GitHub (Sep 1, 2021): We're looking into get this fixed ASAP.
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#569
No description provided.