mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[GH-ISSUE #1331] Authentication not available for Websocket #433
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#433
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 @arpanbag001 on GitHub (Nov 17, 2020).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/1331
Describe the bug
Feature to authenticate Websocket connection is missing, even though the Readme file says Basic and Bearer authentications are available for Websocket.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
In the Websocket tab, there should be a section to add authentication and also maybe custom headers, like the section available in Home page.
Screenshots

Faced on:
Windows 10, with PWA
Browsers: Chrome, Firefox
Hopscotch v1.9.9
@liyasthomas commented on GitHub (Nov 17, 2020):
https://devcenter.heroku.com/articles/websocket-security#:~:text=The%20WebSocket%20protocol%20doesn't,also%20secure%20the%20WebSocket%20connection.
https://stackoverflow.com/questions/4361173/http-headers-in-websockets-client-api
WebSocket doesn't support custom headers nor Authorization.
Even though you can use Basic Auth (deprecated) in WebSocket URL input.
Ex: